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: fbcf8512-b943-4baa-8e48-927139e3a9d5 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_23_09_05_59.1498198844/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 (45 packages loaded, 419 targets configured) Analyzing: target //:gazelle (99 packages loaded, 10465 targets configured) Analyzing: target //:gazelle (99 packages loaded, 10465 targets configured) Analyzing: target //:gazelle (256 packages loaded, 11719 targets configured) INFO: Analyzed target //:gazelle (268 packages loaded, 11967 targets configured). INFO: Found 1 target... [0 / 288] [Prepa] BazelWorkspaceStatusAction stable-status.txt [24 / 317] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 17.2 MiB; 1s remote-cache ... (3 actions, 0 running) [25 / 317] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 17.2 MiB; 2s remote-cache ... (2 actions, 0 running) [210 / 317] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (2 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 23.757s, Critical Path: 3.96s INFO: 317 processes: 297 remote cache hit, 20 internal. INFO: Build completed successfully, 317 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: 1c836685-3fb6-4697-a815-fc02b86da7d3 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_23_09_05_59.1498198844/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 (173 packages loaded, 13343 targets configured) INFO: Analyzed target //tools/tazel:tazel (320 packages loaded, 14303 targets configured). INFO: Found 1 target... [0 / 6] [Prepa] BazelWorkspaceStatusAction stable-status.txt [274 / 608] [Prepa] GoCompilePkg external/org_uber_go_zap/internal/color/color.a [567 / 608] [Prepa] GoCompilePkg external/io_etcd_go_etcd_client_v3/namespace/namespace.a Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 4.902s, Critical Path: 2.98s 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: a5bfde0f-1433-452f-b00d-63d4d7a4c818 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_23_09_05_59.1498198844/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: 415 targets (653 packages loaded, 0 targets configured) Analyzing: 415 targets (1272 packages loaded, 16632 targets configured) Analyzing: 415 targets (1587 packages loaded, 21634 targets configured) Analyzing: 415 targets (1736 packages loaded, 24205 targets configured) Analyzing: 415 targets (1969 packages loaded, 26125 targets configured) Analyzing: 415 targets (1969 packages loaded, 26125 targets configured) Analyzing: 415 targets (2031 packages loaded, 27191 targets configured) INFO: Analyzed 415 targets (2031 packages loaded, 27554 targets configured).  checking cached actions INFO: Found 415 test targets... [0 / 21] [Prepa] Writing file br/cmd/br/br_test/baseline_coverage.dat ... (19 actions, 0 running) [1,384 / 10,218] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 9.3 MiB / 10.3 MiB; 0s remote-cache ... (35 actions, 0 running) [1,410 / 10,218] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 17.0 MiB / 17.2 MiB; 1s remote-cache ... (35 actions, 0 running) [1,417 / 10,218] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 14.0 MiB / 17.2 MiB; 2s remote-cache ... (35 actions, 0 running) [1,474 / 10,218] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (35 actions, 0 running) [1,971 / 10,218] GoCompilePkg external/org_golang_x_tools/go/analysis/passes/nilfunc/nilfunc.a [for tool]; Downloading external/org_golang_x_tools/go/analysis/passes/nilfunc/nilfunc.a; 0s remote-cache ... (35 actions, 0 running) [2,534 / 10,218] GoCompilePkg external/org_golang_x_tools/internal/stdlib/stdlib.a; 0s remote-cache ... (33 actions, 0 running) [3,030 / 10,250] GoCompilePkg external/com_github_gogo_protobuf/proto/proto.a; Downloading external/com_github_gogo_protobuf/proto/proto.a, 4.0 MiB / 6.1 MiB; 0s remote-cache ... (35 actions, 0 running) [3,450 / 10,276] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 63.0 MiB / 96.2 MiB; 0s remote-cache ... (33 actions, 0 running) [3,848 / 10,316] 4 / 415 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a; Downloading external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a, 16.0 MiB / 20.4 MiB; 0s remote-cache ... (35 actions, 0 running) [4,177 / 10,329] 13 / 415 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, 22.0 MiB / 69.8 MiB; 0s remote-cache ... (35 actions, 0 running) [4,446 / 10,372] 18 / 415 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, 55.0 MiB / 69.8 MiB; 1s remote-cache ... (35 actions, 0 running) [4,751 / 10,396] 36 / 415 tests; GoCompilePkg pkg/parser/ast/ast_test.internal.recompileinternal.a; Downloading pkg/parser/ast/ast_test.internal.recompileinternal.a, 8.0 MiB / 8.1 MiB; 0s remote-cache ... (35 actions, 0 running) [4,964 / 10,429] 62 / 415 tests; GoLink pkg/util/extsort/extsort_test_/extsort_test; 0s remote-cache ... (35 actions, 0 running) [5,159 / 10,562] 72 / 415 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3.a; Downloading external/com_github_aws_aws_sdk_go/service/s3/s3.a, 13.1 MiB / 15.4 MiB; 0s remote-cache ... (35 actions, 0 running) [5,331 / 10,564] 75 / 415 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 1s remote-cache ... (12 actions, 0 running) [5,408 / 10,576] 80 / 415 tests; GoLink pkg/util/resourcegrouptag/resourcegrouptag_test_/resourcegrouptag_test; Downloading pkg/util/resourcegrouptag/resourcegrouptag_test_/resourcegrouptag_test, 22.0 MiB / 23.1 MiB; 0s remote-cache ... (5 actions, 0 running) [5,604 / 10,590] 82 / 415 tests; GoLink pkg/util/systimemon/systimemon_test_/systimemon_test; Downloading pkg/util/systimemon/systimemon_test_/systimemon_test, 10.0 MiB / 23.2 MiB; 0s remote-cache ... (35 actions, 0 running) [5,668 / 10,629] 82 / 415 tests; GoLink pkg/lightning/log/log_test_/log_test; 1s remote-cache ... (35 actions, 0 running) [5,730 / 10,655] 89 / 415 tests; GoLink pkg/util/set/set_test_/set_test; 1s remote-cache ... (35 actions, 0 running) [5,800 / 10,769] 98 / 415 tests; GoLink pkg/util/logutil/logutil_test_/logutil_test; Downloading pkg/util/logutil/logutil_test_/logutil_test, 28.0 MiB / 29.0 MiB; 1s remote-cache ... (34 actions, 0 running) [5,884 / 10,781] 105 / 415 tests; GoLink pkg/util/cteutil/cteutil_test_/cteutil_test; 1s remote-cache ... (35 actions, 0 running) [5,976 / 10,796] 108 / 415 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; Downloading br/pkg/rtree/rtree_test_/rtree_test, 28.0 MiB / 43.3 MiB; 1s remote-cache ... (34 actions, 0 running) [6,030 / 10,831] 110 / 415 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; 2s remote-cache ... (35 actions, 0 running) [6,075 / 10,874] 112 / 415 tests; GoLink pkg/resourcemanager/pool/workerpool/workerpool_test_/workerpool_test; Downloading pkg/resourcemanager/pool/workerpool/workerpool_test_/workerpool_test, 25.0 MiB / 41.6 MiB; 2s remote-cache ... (35 actions, 0 running) [6,118 / 10,900] 113 / 415 tests; GoLink pkg/resourcemanager/pool/workerpool/workerpool_test_/workerpool_test; Downloading pkg/resourcemanager/pool/workerpool/workerpool_test_/workerpool_test, 38.0 MiB / 41.6 MiB; 3s remote-cache ... (35 actions, 0 running) [6,177 / 10,922] 116 / 415 tests; GoLink pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 23.0 MiB / 55.9 MiB; 2s remote-cache ... (35 actions, 0 running) [6,238 / 10,922] 120 / 415 tests; GoLink pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 37.0 MiB / 55.9 MiB; 3s remote-cache ... (35 actions, 0 running) [6,296 / 10,922] 121 / 415 tests; GoLink pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 53.0 MiB / 55.9 MiB; 4s remote-cache ... (35 actions, 0 running) [6,377 / 10,924] 126 / 415 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 68.0 MiB / 80.2 MiB; 5s remote-cache ... (35 actions, 0 running) [6,450 / 10,924] 129 / 415 tests; GoCompilePkg pkg/metrics/expression.recompile582.a; Downloading pkg/metrics/expression.recompile582.a, 55.0 MiB / 78.6 MiB; 3s remote-cache ... (35 actions, 0 running) [6,514 / 10,942] 130 / 415 tests; GoCompilePkg pkg/metrics/expression.recompile582.a; Downloading pkg/metrics/expression.recompile582.a, 71.0 MiB / 78.6 MiB; 4s remote-cache ... (35 actions, 0 running) [6,562 / 10,983] 131 / 415 tests; GoLink pkg/timer/tablestore/tablestore_test_/tablestore_test; Downloading pkg/timer/tablestore/tablestore_test_/tablestore_test, 53.0 MiB / 56.7 MiB; 3s remote-cache ... (35 actions, 0 running) [6,602 / 10,998] 134 / 415 tests; GoCompilePkg pkg/util/expression.recompile561.a; Downloading pkg/util/expression.recompile561.a, 54.0 MiB / 78.6 MiB; 3s remote-cache ... (35 actions, 0 running) [6,630 / 10,998] 136 / 415 tests; GoCompilePkg pkg/util/expression.recompile561.a; Downloading pkg/util/expression.recompile561.a, 64.9 MiB / 78.6 MiB; 5s remote-cache ... (34 actions, 0 running) [6,673 / 11,023] 138 / 415 tests; GoCompilePkg pkg/util/expression.recompile561.a; Downloading pkg/util/expression.recompile561.a, 76.0 MiB / 78.6 MiB; 6s remote-cache ... (35 actions, 0 running) [6,712 / 11,072] 140 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 148.4 MiB / 151.3 MiB; 5s remote-cache ... (35 actions, 0 running) [6,762 / 11,076] 142 / 415 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1143.a; Downloading pkg/sessionctx/variable/expression.recompile1143.a, 67.7 MiB / 78.6 MiB; 6s remote-cache ... (36 actions, 2 running) [6,804 / 11,086] 145 / 415 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1143.a; 7s remote-cache ... (36 actions, 2 running) [6,855 / 11,086] 146 / 415 tests; GoCompilePkg pkg/structure/expression.recompile1141.a; 7s remote-cache ... (36 actions, 2 running) [6,915 / 11,112] 146 / 415 tests; GoCompilePkg pkg/meta/expression.recompile561.a; 7s remote-cache ... (35 actions, 0 running) [6,985 / 11,124] 146 / 415 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 70.9 MiB / 78.6 MiB; 5s remote-cache ... (36 actions, 2 running) [7,064 / 11,124] 149 / 415 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; Downloading br/pkg/streamhelper/streamhelper_test_/streamhelper_test, 6.0 MiB / 102.0 MiB; 0s remote-cache ... (35 actions, 0 running) [7,139 / 11,124] 150 / 415 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; Downloading br/pkg/streamhelper/streamhelper_test_/streamhelper_test, 25.0 MiB / 102.0 MiB; 1s remote-cache ... (36 actions, 2 running) [7,209 / 11,134] 151 / 415 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; Downloading br/pkg/streamhelper/streamhelper_test_/streamhelper_test, 49.4 MiB / 102.0 MiB; 2s remote-cache ... (35 actions, 0 running) [7,276 / 11,167] 151 / 415 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; Downloading br/pkg/streamhelper/streamhelper_test_/streamhelper_test, 76.0 MiB / 102.0 MiB; 3s remote-cache ... (35 actions, 0 running) [7,348 / 11,175] 153 / 415 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; Downloading br/pkg/streamhelper/streamhelper_test_/streamhelper_test, 96.1 MiB / 102.0 MiB; 4s remote-cache ... (35 actions, 0 running) [7,403 / 11,255] 153 / 415 tests; GoLink pkg/executor/internal/vecgroupchecker/vecgroupchecker_test_/vecgroupchecker_test; 3s remote-cache ... (35 actions, 0 running) [7,453 / 11,259] 155 / 415 tests; GoLink pkg/ddl/util/util_test_/util_test; Downloading pkg/ddl/util/util_test_/util_test, 36.0 MiB / 43.0 MiB; 2s remote-cache ... (34 actions, 0 running) [7,495 / 11,280] 155 / 415 tests; GoLink pkg/executor/internal/applycache/applycache_test_/applycache_test; 3s remote-cache ... (35 actions, 0 running) [7,539 / 11,287] 159 / 415 tests; GoLink pkg/metrics/metrics_test_/metrics_test; 4s remote-cache ... (35 actions, 1 running) [7,592 / 11,294] 161 / 415 tests; GoLink pkg/ttl/client/client_test_/client_test; Downloading pkg/ttl/client/client_test_/client_test, 46.0 MiB / 49.7 MiB; 4s remote-cache ... (36 actions, 2 running) [7,649 / 11,334] 162 / 415 tests; GoLink pkg/executor/internal/pdhelper/pdhelper_test_/pdhelper_test; Downloading pkg/executor/internal/pdhelper/pdhelper_test_/pdhelper_test, 29.0 MiB / 43.2 MiB; 2s remote-cache ... (36 actions, 2 running) [7,707 / 11,336] 163 / 415 tests; GoLink pkg/executor/internal/pdhelper/pdhelper_test_/pdhelper_test; 3s remote-cache ... (36 actions, 2 running) [7,772 / 11,338] 167 / 415 tests; GoLink pkg/expression/aggregation/aggregation_test_/aggregation_test; Downloading pkg/expression/aggregation/aggregation_test_/aggregation_test, 32.0 MiB / 53.3 MiB; 2s remote-cache ... (35 actions, 0 running) [7,838 / 11,338] 168 / 415 tests; GoLink pkg/expression/aggregation/aggregation_test_/aggregation_test; Downloading pkg/expression/aggregation/aggregation_test_/aggregation_test, 49.0 MiB / 53.3 MiB; 3s remote-cache ... (35 actions, 0 running) [7,919 / 11,383] 168 / 415 tests; GoLink pkg/store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test; Downloading pkg/store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test, 12.0 MiB / 55.1 MiB; 0s remote-cache ... (33 actions, 0 running) [7,990 / 11,383] 170 / 415 tests; GoLink pkg/store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test; Downloading pkg/store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test, 29.0 MiB / 55.1 MiB; 2s remote-cache ... (35 actions, 0 running) [8,053 / 11,383] 171 / 415 tests; GoLink pkg/store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test; Downloading pkg/store/mockstore/unistore/cophandler/cophandler_test_/cophandler_test, 42.0 MiB / 55.1 MiB; 3s remote-cache ... (34 actions, 0 running) [8,122 / 11,388] 172 / 415 tests; Testing //pkg/util:util_test (shard 31 of 50); Downloading pkg/util/util_test/shard_31_of_50/coverage.dat, 8.0 MiB / 9.8 MiB; 0s remote-cache ... (36 actions, 2 running) [8,188 / 11,388] 173 / 415 tests; GoCompilePkg pkg/sessionctx/variable/ddl.recompile1267.a; 1s remote-cache, linux-sandbox ... (37 actions, 4 running) [8,255 / 11,388] 174 / 415 tests; GoCompilePkg pkg/sessionctx/variable/ddl.recompile1267.a; 2s remote-cache, linux-sandbox ... (38 actions, 6 running) [8,307 / 11,393] 175 / 415 tests; GoCompilePkg pkg/sessionctx/variable/ddl.recompile1267.a; 3s remote-cache, linux-sandbox ... (38 actions, 6 running) [8,366 / 11,422] 177 / 415 tests; GoCompilePkg pkg/sessionctx/variable/ddl.recompile1267.a; 4s remote-cache, linux-sandbox ... (41 actions, 12 running) [8,409 / 11,422] 178 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1270.a; 4s remote-cache, linux-sandbox ... (41 actions, 12 running) [8,435 / 11,422] 178 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1270.a; 5s remote-cache, linux-sandbox ... (44 actions, 18 running) [8,464 / 11,457] 178 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1270.a; 6s remote-cache, linux-sandbox ... (44 actions, 18 running) [8,492 / 11,457] 178 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1270.a; 7s remote-cache, linux-sandbox ... (44 actions, 18 running) [8,524 / 11,457] 178 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1270.a; 8s remote-cache, linux-sandbox ... (45 actions, 20 running) [8,559 / 11,463] 179 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1270.a; 9s remote-cache, linux-sandbox ... (46 actions, 22 running) [8,592 / 11,468] 179 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1270.a; 10s remote-cache, linux-sandbox ... (46 actions, 22 running) [8,642 / 11,479] 179 / 415 tests; GoLink br/pkg/checkpoint/checkpoint_test_/checkpoint_test; Downloading br/pkg/checkpoint/checkpoint_test_/checkpoint_test, 91.0 MiB / 107.2 MiB; 9s remote-cache ... (46 actions, 23 running) [8,692 / 11,492] 183 / 415 tests; GoLink br/pkg/checkpoint/checkpoint_test_/checkpoint_test; Downloading br/pkg/checkpoint/checkpoint_test_/checkpoint_test, 102.0 MiB / 107.2 MiB; 10s remote-cache ... (45 actions, 20 running) [8,755 / 11,498] 185 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1153.a; 7s remote-cache, linux-sandbox ... (47 actions, 24 running) [8,790 / 11,498] 185 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1153.a; 8s remote-cache, linux-sandbox ... (48 actions, 26 running) [8,830 / 11,562] 186 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1153.a; 9s remote-cache, linux-sandbox ... (50 actions, 30 running) [8,865 / 11,613] 187 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1153.a; 10s remote-cache, linux-sandbox ... (54 actions, 38 running) [8,899 / 11,640] 188 / 415 tests; GoCompilePkg pkg/lightning/backend/local/ddl.recompile1295.a; 9s remote-cache, linux-sandbox ... (54 actions, 38 running) [8,925 / 11,640] 190 / 415 tests; GoCompilePkg pkg/lightning/backend/local/ddl.recompile1295.a; 10s remote-cache, linux-sandbox ... (56 actions, 42 running) [8,943 / 11,642] 190 / 415 tests; GoCompilePkg pkg/sessionctx/variable/core.recompile1292.a; 5s remote-cache, linux-sandbox ... (56 actions, 42 running) [8,959 / 11,642] 191 / 415 tests; GoCompilePkg pkg/sessionctx/variable/core.recompile1292.a; 6s remote-cache, linux-sandbox ... (54 actions, 39 running) [8,976 / 11,647] 191 / 415 tests; GoCompilePkg pkg/sessionctx/variable/core.recompile1292.a; 7s remote-cache, linux-sandbox ... (55 actions, 40 running) [8,990 / 11,651] 191 / 415 tests; GoCompilePkg pkg/sessionctx/variable/core.recompile1292.a; 9s remote-cache, linux-sandbox ... (55 actions, 41 running) [9,010 / 11,651] 193 / 415 tests; GoCompilePkg pkg/sessionctx/variable/core.recompile1292.a; 10s remote-cache, linux-sandbox ... (59 actions, 48 running) [9,039 / 11,651] 196 / 415 tests; GoCompilePkg pkg/sessionctx/variable/core.recompile1292.a; 11s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,067 / 11,702] 196 / 415 tests; GoCompilePkg pkg/sessionctx/variable/core.recompile1292.a; 12s remote-cache, linux-sandbox ... (53 actions, 37 running) [9,104 / 11,734] 196 / 415 tests; GoCompilePkg pkg/ddl/ddl.a; 11s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,110 / 11,734] 197 / 415 tests; GoCompilePkg pkg/ddl/ddl.a; 13s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,115 / 11,734] 197 / 415 tests; GoCompilePkg pkg/ddl/ddl.a; 14s remote-cache, linux-sandbox ... (59 actions, 48 running) [9,141 / 11,734] 197 / 415 tests; GoCompilePkg pkg/ddl/ddl.a; 15s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,175 / 11,734] 198 / 415 tests; GoCompilePkg pkg/planner/util/core.recompile1161.a; 14s remote-cache, linux-sandbox ... (64 actions, 58 running) [9,199 / 11,734] 198 / 415 tests; GoCompilePkg pkg/statistics/core.recompile1295.a; 7s remote-cache, linux-sandbox ... (63 actions, 56 running) [9,219 / 11,734] 198 / 415 tests; GoCompilePkg pkg/statistics/core.recompile1295.a; 8s remote-cache, linux-sandbox ... (65 actions, 60 running) [9,230 / 11,734] 198 / 415 tests; GoCompilePkg pkg/statistics/core.recompile1295.a; 9s remote-cache, linux-sandbox ... (65 actions, 60 running) [9,257 / 11,734] 198 / 415 tests; GoCompilePkg pkg/statistics/core.recompile1295.a; 10s remote-cache, linux-sandbox ... (64 actions, 59 running) [9,274 / 11,734] 199 / 415 tests; GoCompilePkg pkg/ddl/ingest/ddl.recompile1268.a; 11s remote-cache, linux-sandbox ... (66 actions, 62 running) [9,286 / 11,734] 200 / 415 tests; GoCompilePkg pkg/ddl/ingest/ddl.recompile1268.a; 12s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,316 / 11,739] 200 / 415 tests; GoCompilePkg pkg/ddl/ingest/ddl.recompile1268.a; 13s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,331 / 11,739] 201 / 415 tests; GoCompilePkg pkg/sessionctx/sessionstates/core.recompile1315.a; 9s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,354 / 11,739] 201 / 415 tests; GoCompilePkg pkg/sessionctx/sessionstates/core.recompile1315.a; 10s remote-cache, linux-sandbox ... (59 actions, 48 running) [9,363 / 11,790] 201 / 415 tests; GoCompilePkg pkg/sessionctx/sessionstates/core.recompile1315.a; 11s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,373 / 11,790] 201 / 415 tests; GoCompilePkg pkg/sessionctx/sessionstates/core.recompile1315.a; 12s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,399 / 11,790] 201 / 415 tests; GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1290.a; 13s remote-cache, linux-sandbox ... (59 actions, 48 running) [9,415 / 11,790] 201 / 415 tests; GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1290.a; 14s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,427 / 11,790] 201 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 15s remote-cache, linux-sandbox ... (66 actions, 63 running) [9,449 / 11,792] 202 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 16s remote-cache, linux-sandbox ... (66 actions, 62 running) [9,475 / 11,792] 202 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 17s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,500 / 11,792] 204 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 18s remote-cache, linux-sandbox ... (67 actions, 65 running) [9,518 / 11,808] 204 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 19s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,524 / 11,808] 204 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 20s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,533 / 11,818] 204 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 21s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,559 / 11,818] 204 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 22s remote-cache, linux-sandbox ... (58 actions, 46 running) [9,577 / 11,818] 204 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 23s remote-cache, linux-sandbox ... (66 actions, 62 running) [9,602 / 11,818] 205 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 25s remote-cache, linux-sandbox ... (66 actions, 62 running) [9,621 / 11,818] 206 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 26s remote-cache, linux-sandbox ... (65 actions, 61 running) [9,645 / 11,820] 206 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1158.a; 27s remote-cache, linux-sandbox ... (66 actions, 62 running) [9,664 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 12s remote-cache, linux-sandbox ... (66 actions, 65 running) [9,677 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,687 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 15s remote-cache, linux-sandbox ... (70 actions running) [9,701 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 16s remote-cache, linux-sandbox ... (70 actions running) [9,711 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 17s remote-cache, linux-sandbox ... (70 actions running) [9,718 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 18s remote-cache, linux-sandbox ... (70 actions running) [9,726 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,728 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,747 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 22s remote-cache, linux-sandbox ... (67 actions, 66 running) [9,753 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,762 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,767 / 11,820] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,775 / 11,840] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 26s remote-cache, linux-sandbox ... (70 actions running) [9,787 / 11,840] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 27s remote-cache, linux-sandbox ... (70 actions running) [9,793 / 11,840] 208 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1322.a; 28s remote-cache, linux-sandbox ... (68 actions, 66 running) [9,801 / 11,840] 208 / 415 tests; GoCompilePkg pkg/sessionctx/sessionstates/executor.recompile1330.a; 16s remote-cache, linux-sandbox ... (67 actions, 64 running) [9,809 / 11,840] 208 / 415 tests; GoCompilePkg br/pkg/storage/core.recompile1333.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,816 / 11,840] 208 / 415 tests; GoCompilePkg pkg/planner/funcdep/executor.recompile1306.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,829 / 11,840] 208 / 415 tests; GoCompilePkg pkg/planner/funcdep/executor.recompile1306.a; 17s remote-cache, linux-sandbox ... (70 actions running) [9,834 / 11,840] 208 / 415 tests; GoCompilePkg pkg/planner/funcdep/executor.recompile1306.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,857 / 11,840] 208 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1294.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,866 / 11,840] 208 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1294.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,881 / 11,840] 208 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1294.a; 22s remote-cache, linux-sandbox ... (70 actions running) [9,882 / 11,840] 208 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1294.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,903 / 11,840] 208 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1294.a; 25s remote-cache, linux-sandbox ... (69 actions running) [9,923 / 11,845] 208 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1294.a; 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,935 / 11,845] 208 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1294.a; 27s remote-cache, linux-sandbox ... (70 actions running) [9,964 / 11,845] 208 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1294.a; 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,967 / 11,845] 208 / 415 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1295.a; 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,969 / 11,845] 208 / 415 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1295.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,991 / 11,845] 208 / 415 tests; GoCompilePkg pkg/expression/core.recompile1295.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,013 / 11,845] 208 / 415 tests; GoCompilePkg pkg/expression/core.recompile1295.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,030 / 11,896] 208 / 415 tests; GoCompilePkg pkg/expression/core.recompile1295.a; 24s remote-cache, linux-sandbox ... (67 actions, 65 running) [10,040 / 11,896] 208 / 415 tests; GoCompilePkg pkg/expression/core.recompile1295.a; 25s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,054 / 11,898] 209 / 415 tests; GoCompilePkg pkg/expression/core.recompile1295.a; 26s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,065 / 11,898] 209 / 415 tests; GoCompilePkg pkg/expression/core.recompile1295.a; 28s remote-cache, linux-sandbox ... (70 actions running) [10,077 / 11,898] 209 / 415 tests; GoCompilePkg pkg/store/mockstore/mockcopr/executor.recompile1306.a; 12s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,086 / 11,898] 209 / 415 tests; GoLink pkg/statistics/statistics_test_/statistics_test; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,095 / 11,898] 209 / 415 tests; GoLink pkg/statistics/statistics_test_/statistics_test; 13s remote-cache, linux-sandbox ... (70 actions running) [10,095 / 11,898] 209 / 415 tests; GoLink pkg/statistics/statistics_test_/statistics_test; 14s remote-cache, linux-sandbox ... (70 actions running) [10,099 / 11,898] 209 / 415 tests; GoLink pkg/statistics/statistics_test_/statistics_test; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,120 / 11,936] 209 / 415 tests; GoCompilePkg br/pkg/checksum/core.recompile1321.a; 11s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,126 / 11,936] 209 / 415 tests; GoCompilePkg br/pkg/checksum/core.recompile1321.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,130 / 11,938] 209 / 415 tests; GoCompilePkg br/pkg/checksum/core.recompile1321.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,131 / 11,938] 209 / 415 tests; GoCompilePkg br/pkg/checksum/core.recompile1321.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,159 / 11,962] 211 / 415 tests; GoCompilePkg br/pkg/storage/executor.recompile1346.a; 11s remote-cache, linux-sandbox ... (69 actions running) [10,171 / 11,962] 211 / 415 tests; GoLink pkg/sessionctx/sessionstates/sessionstates_test_/sessionstates_test; 12s remote-cache, linux-sandbox ... (70 actions running) [10,184 / 11,962] 211 / 415 tests; GoLink pkg/sessionctx/sessionstates/sessionstates_test_/sessionstates_test; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,197 / 11,980] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 12s remote-cache, linux-sandbox ... (70 actions running) [10,202 / 11,980] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,210 / 11,980] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 15s remote-cache, linux-sandbox ... (70 actions running) [10,210 / 11,980] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 16s remote-cache, linux-sandbox ... (70 actions running) [10,214 / 11,980] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 18s remote-cache, linux-sandbox ... (67 actions, 66 running) [10,229 / 11,980] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,236 / 11,980] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,257 / 12,013] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,270 / 12,013] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,279 / 12,013] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 23s remote-cache, linux-sandbox ... (70 actions running) [10,285 / 12,013] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 24s remote-cache, linux-sandbox ... (70 actions running) [10,296 / 12,013] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,306 / 12,013] 211 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1320.a; 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,311 / 12,013] 211 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1308.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,328 / 12,023] 212 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1292.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,337 / 12,023] 212 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1292.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,351 / 12,030] 212 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1292.a; 20s remote-cache, linux-sandbox ... (70 actions running) [10,367 / 12,030] 212 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1292.a; 21s remote-cache, linux-sandbox ... (70 actions running) [10,375 / 12,030] 212 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1292.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,389 / 12,044] 212 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1292.a; 23s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,402 / 12,044] 212 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1292.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,417 / 12,066] 212 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1292.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,428 / 12,066] 212 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,434 / 12,068] 212 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,448 / 12,068] 213 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 22s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,449 / 12,068] 213 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,464 / 12,068] 215 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,485 / 12,125] 215 / 415 tests; Testing //pkg/lightning/backend/kv:kv_test (shard 11 of 19); 6s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,488 / 12,125] 215 / 415 tests; Testing //pkg/lightning/backend/kv:kv_test (shard 11 of 19); 7s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,489 / 12,125] 215 / 415 tests; Testing //pkg/lightning/backend/kv:kv_test (shard 11 of 19); 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,511 / 12,125] 216 / 415 tests; GoLink br/pkg/storage/storage_test_/storage_test; 9s remote-cache, linux-sandbox ... (70 actions running) [10,512 / 12,125] 217 / 415 tests; GoLink br/pkg/storage/storage_test_/storage_test; 10s remote-cache, linux-sandbox ... (70 actions running) [10,526 / 12,192] 217 / 415 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 7s remote-cache, linux-sandbox ... (70 actions running) [10,527 / 12,192] 217 / 415 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,527 / 12,192] 217 / 415 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 10s remote-cache, linux-sandbox ... (70 actions running) [10,528 / 12,192] 217 / 415 tests; GoCompilePkg pkg/bindinfo/cascades.recompile1331.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,528 / 12,192] 217 / 415 tests; GoCompilePkg pkg/bindinfo/cascades.recompile1331.a; 16s remote-cache, linux-sandbox ... (70 actions running) [10,528 / 12,192] 217 / 415 tests; GoCompilePkg pkg/bindinfo/cascades.recompile1331.a; 27s remote-cache, linux-sandbox ... (70 actions running) [10,529 / 12,192] 217 / 415 tests; GoCompilePkg pkg/bindinfo/cascades.recompile1331.a; 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,537 / 12,192] 217 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/join.recompile1297.a; 39s remote-cache, linux-sandbox ... (70 actions running) [10,554 / 12,192] 217 / 415 tests; GoCompilePkg pkg/lightning/backend/local/server.recompile1344.a; 40s remote-cache, linux-sandbox ... (70 actions running) [10,555 / 12,192] 217 / 415 tests; GoCompilePkg pkg/lightning/backend/local/server.recompile1344.a; 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,569 / 12,192] 217 / 415 tests; Testing //pkg/lightning/backend/kv:kv_test (shard 9 of 19); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,577 / 12,192] 217 / 415 tests; GoCompilePkg pkg/bindinfo/planner.recompile1332.a; 5s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,594 / 12,192] 218 / 415 tests; Testing //pkg/sessionctx/binloginfo:binloginfo_test (shard 7 of 11); 5s remote-cache, linux-sandbox ... (70 actions running) [10,605 / 12,192] 218 / 415 tests; Testing //pkg/statistics/handle/globalstats:globalstats_test (shard 24 of 26); 6s remote-cache, linux-sandbox ... (70 actions running) [10,619 / 12,192] 218 / 415 tests; Testing //pkg/statistics/handle/globalstats:globalstats_test (shard 24 of 26); 7s remote-cache, linux-sandbox ... (69 actions running) [10,631 / 12,192] 218 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 6s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,636 / 12,192] 218 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,647 / 12,192] 218 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,652 / 12,192] 218 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 10s remote-cache, linux-sandbox ... (70 actions running) [10,659 / 12,192] 218 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,675 / 12,192] 218 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 13s remote-cache, linux-sandbox ... (70 actions running) [10,689 / 12,215] 218 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,690 / 12,215] 218 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 16s remote-cache, linux-sandbox ... (70 actions running) [10,712 / 12,215] 219 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 17s remote-cache, linux-sandbox ... (70 actions running) [10,717 / 12,215] 219 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,725 / 12,266] 219 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1335.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,734 / 12,266] 219 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1335.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,750 / 12,266] 219 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1335.a; 19s remote-cache, linux-sandbox ... (70 actions running) [10,750 / 12,266] 219 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1335.a; 20s remote-cache, linux-sandbox ... (70 actions running) [10,752 / 12,266] 219 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1335.a; 21s remote-cache, linux-sandbox ... (69 actions running) [10,779 / 12,266] 219 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1304.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,792 / 12,266] 219 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1304.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,798 / 12,317] 220 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1304.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,814 / 12,317] 220 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1304.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,825 / 12,317] 220 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1304.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,832 / 12,317] 220 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1304.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,847 / 12,317] 220 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1304.a; 20s remote-cache, linux-sandbox ... (70 actions running) [10,864 / 12,337] 220 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1304.a; 21s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,869 / 12,337] 220 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1304.a; 22s remote-cache, linux-sandbox ... (69 actions running) [10,884 / 12,337] 221 / 415 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,891 / 12,337] 221 / 415 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,899 / 12,337] 221 / 415 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,906 / 12,337] 221 / 415 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,915 / 12,337] 221 / 415 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,919 / 12,337] 221 / 415 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,924 / 12,337] 221 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 17s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,934 / 12,337] 223 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 18s remote-cache, linux-sandbox ... (70 actions running) [10,939 / 12,337] 223 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 20s remote-cache, linux-sandbox ... (70 actions running) [10,952 / 12,337] 224 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 21s remote-cache, linux-sandbox ... (70 actions running) [10,959 / 12,337] 224 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 22s remote-cache, linux-sandbox ... (70 actions running) [10,961 / 12,337] 224 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 23s remote-cache, linux-sandbox ... (70 actions running) [10,968 / 12,339] 224 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,973 / 12,339] 224 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,980 / 12,339] 226 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,986 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 28s remote-cache, linux-sandbox ... (70 actions running) [10,996 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,000 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,003 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,009 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 33s remote-cache, linux-sandbox ... (70 actions running) [11,009 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 34s remote-cache, linux-sandbox ... (70 actions running) [11,017 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 35s remote-cache, linux-sandbox ... (70 actions running) [11,022 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,027 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 37s remote-cache, linux-sandbox ... (68 actions, 67 running) [11,034 / 12,339] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,041 / 12,343] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 39s remote-cache, linux-sandbox ... (70 actions running) [11,042 / 12,343] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 40s remote-cache, linux-sandbox ... (70 actions running) [11,042 / 12,343] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 41s remote-cache, linux-sandbox ... (70 actions running) [11,050 / 12,343] 227 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,057 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 43s remote-cache, linux-sandbox ... (70 actions running) [11,059 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 44s remote-cache, linux-sandbox ... (70 actions running) [11,066 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,071 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,083 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,088 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 49s remote-cache, linux-sandbox ... (70 actions running) [11,094 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 50s remote-cache, linux-sandbox ... (70 actions running) [11,102 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 51s remote-cache, linux-sandbox ... (70 actions running) [11,107 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 52s remote-cache, linux-sandbox ... (70 actions running) [11,115 / 12,343] 229 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 53s remote-cache, linux-sandbox ... (70 actions running) [11,125 / 12,343] 229 / 415 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,129 / 12,343] 229 / 415 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,142 / 12,343] 229 / 415 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 41s remote-cache, linux-sandbox ... (70 actions running) [11,152 / 12,343] 229 / 415 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 42s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,159 / 12,394] 229 / 415 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,162 / 12,394] 229 / 415 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 45s remote-cache, linux-sandbox ... (70 actions running) [11,176 / 12,394] 230 / 415 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [11,184 / 12,394] 230 / 415 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [11,189 / 12,394] 230 / 415 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 48s remote-cache, linux-sandbox ... (70 actions running) [11,192 / 12,394] 230 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 47s remote-cache, linux-sandbox ... (70 actions running) [11,197 / 12,394] 230 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,202 / 12,394] 230 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 49s remote-cache, linux-sandbox ... (70 actions running) [11,206 / 12,394] 230 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 50s remote-cache, linux-sandbox ... (70 actions running) [11,210 / 12,394] 230 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 51s remote-cache, linux-sandbox ... (70 actions running) [11,214 / 12,396] 230 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 52s remote-cache, linux-sandbox ... (70 actions running) [11,220 / 12,396] 230 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,225 / 12,396] 230 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 54s remote-cache, linux-sandbox ... (70 actions running) [11,233 / 12,396] 230 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 55s remote-cache, linux-sandbox ... (70 actions running) [11,239 / 12,396] 231 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 56s remote-cache, linux-sandbox ... (67 actions, 64 running) [11,240 / 12,396] 232 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 57s remote-cache, linux-sandbox ... (70 actions running) [11,244 / 12,396] 232 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,256 / 12,396] 232 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,260 / 12,396] 232 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 61s remote-cache, linux-sandbox ... (70 actions running) [11,265 / 12,396] 232 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 62s remote-cache, linux-sandbox ... (67 actions, 64 running) [11,271 / 12,396] 232 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,272 / 12,396] 232 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,274 / 12,396] 233 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,280 / 12,396] 233 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 67s remote-cache, linux-sandbox ... (70 actions running) [11,283 / 12,396] 233 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 68s remote-cache, linux-sandbox ... (70 actions running) [11,287 / 12,396] 233 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,293 / 12,398] 233 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 67s remote-cache, linux-sandbox ... (70 actions running) [11,298 / 12,449] 233 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 58s remote-cache, linux-sandbox ... (70 actions running) [11,302 / 12,449] 233 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,307 / 12,449] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 61s remote-cache, linux-sandbox ... (70 actions running) [11,311 / 12,449] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 62s remote-cache, linux-sandbox ... (70 actions running) [11,311 / 12,449] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 63s remote-cache, linux-sandbox ... (70 actions running) [11,311 / 12,449] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 64s remote-cache, linux-sandbox ... (70 actions running) [11,320 / 12,467] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,322 / 12,467] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 67s remote-cache, linux-sandbox ... (70 actions running) [11,322 / 12,467] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 68s remote-cache, linux-sandbox ... (70 actions running) [11,322 / 12,467] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 69s remote-cache, linux-sandbox ... (70 actions running) [11,328 / 12,467] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 70s remote-cache, linux-sandbox ... (70 actions running) [11,339 / 12,467] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 71s remote-cache, linux-sandbox ... (68 actions running) [11,343 / 12,467] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 72s remote-cache, linux-sandbox ... (70 actions running) [11,350 / 12,518] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 73s remote-cache, linux-sandbox ... (70 actions running) [11,351 / 12,518] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 74s remote-cache, linux-sandbox ... (70 actions running) [11,363 / 12,518] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 75s remote-cache, linux-sandbox ... (66 actions, 62 running) [11,374 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,377 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 78s remote-cache, linux-sandbox ... (70 actions running) [11,384 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,385 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 80s remote-cache, linux-sandbox ... (70 actions running) [11,391 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,392 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,402 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,408 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,414 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 86s remote-cache, linux-sandbox ... (70 actions running) [11,416 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 87s remote-cache, linux-sandbox ... (70 actions running) [11,421 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 88s remote-cache, linux-sandbox ... (69 actions running) [11,427 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 89s remote-cache, linux-sandbox ... (69 actions running) [11,434 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,436 / 12,524] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,443 / 12,539] 234 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,450 / 12,558] 235 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 51s remote-cache, linux-sandbox ... (70 actions running) [11,452 / 12,575] 235 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 52s remote-cache, linux-sandbox ... (70 actions running) [11,453 / 12,575] 235 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 53s remote-cache, linux-sandbox ... (70 actions running) [11,462 / 12,575] 235 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 54s remote-cache, linux-sandbox ... (70 actions running) [11,464 / 12,575] 235 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 55s remote-cache, linux-sandbox ... (70 actions running) [11,473 / 12,581] 235 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,474 / 12,581] 235 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,483 / 12,581] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 2 of 22); 57s remote-cache, linux-sandbox ... (70 actions running) [11,491 / 12,632] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 3 of 22); 54s remote-cache, linux-sandbox ... (70 actions running) [11,496 / 12,658] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 3 of 22); 55s remote-cache, linux-sandbox ... (70 actions running) [11,502 / 12,665] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,507 / 12,665] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 51s remote-cache, linux-sandbox ... (70 actions running) [11,507 / 12,665] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 53s remote-cache, linux-sandbox ... (70 actions running) [11,509 / 12,665] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 54s remote-cache, linux-sandbox ... (70 actions running) [11,513 / 12,699] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,514 / 12,699] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 56s remote-cache, linux-sandbox ... (70 actions running) [11,514 / 12,699] 236 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 57s remote-cache, linux-sandbox ... (70 actions running) [11,520 / 12,699] 236 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 3 of 17); 55s remote-cache, linux-sandbox ... (70 actions running) [11,527 / 12,701] 236 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 3 of 17); 56s remote-cache, linux-sandbox ... (70 actions running) [11,532 / 12,701] 236 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 5 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [11,532 / 12,701] 236 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 5 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [11,532 / 12,701] 236 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 5 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [11,532 / 12,701] 236 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 5 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [11,540 / 12,701] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 5 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [11,542 / 12,701] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 5 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [11,546 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 5 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [11,547 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 5 of 50); 53s remote-cache, linux-sandbox ... (70 actions running) [11,551 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 41s remote-cache, linux-sandbox ... (70 actions running) [11,552 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,554 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 43s remote-cache, linux-sandbox ... (70 actions running) [11,557 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [11,557 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 45s remote-cache, linux-sandbox ... (70 actions running) [11,563 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,568 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,569 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [11,574 / 12,765] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [11,577 / 12,794] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [11,577 / 12,794] 237 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [11,581 / 12,794] 238 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 53s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,584 / 12,794] 238 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [11,589 / 12,794] 238 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [11,594 / 12,794] 238 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [11,596 / 12,794] 238 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [11,601 / 12,794] 238 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 58s remote-cache, linux-sandbox ... (67 actions, 65 running) [11,604 / 12,794] 238 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) [11,610 / 12,794] 238 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [11,611 / 12,794] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [11,612 / 12,794] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,617 / 12,794] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,618 / 12,794] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,621 / 12,794] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,622 / 12,794] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [11,626 / 12,794] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,628 / 12,794] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,629 / 12,794] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,633 / 12,798] 239 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,635 / 12,798] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 73s remote-cache, linux-sandbox ... (70 actions running) [11,639 / 12,798] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,642 / 12,798] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 76s remote-cache, linux-sandbox ... (70 actions running) [11,644 / 12,798] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 77s remote-cache, linux-sandbox ... (70 actions running) [11,648 / 12,807] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 78s remote-cache, linux-sandbox ... (70 actions running) [11,655 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,658 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,658 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [11,662 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 83s remote-cache, linux-sandbox ... (70 actions running) [11,665 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 84s remote-cache, linux-sandbox ... (70 actions running) [11,667 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 80s remote-cache, linux-sandbox ... (70 actions running) [11,667 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 81s remote-cache, linux-sandbox ... (70 actions running) [11,668 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,675 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 84s remote-cache, linux-sandbox ... (69 actions running) [11,677 / 12,813] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,680 / 12,864] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [11,682 / 12,864] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 88s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,683 / 12,864] 240 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,687 / 12,864] 240 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,692 / 12,864] 240 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,694 / 12,864] 240 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 65s remote-cache, linux-sandbox ... (70 actions running) [11,697 / 12,864] 240 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,699 / 12,915] 240 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 68s remote-cache, linux-sandbox ... (69 actions running) [11,700 / 12,915] 240 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 69s remote-cache, linux-sandbox ... (70 actions running) [11,704 / 12,915] 241 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,705 / 12,915] 241 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 72s remote-cache, linux-sandbox ... (70 actions running) [11,707 / 12,915] 241 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 73s remote-cache, linux-sandbox ... (70 actions running) [11,708 / 12,943] 241 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,710 / 12,943] 241 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 76s remote-cache, linux-sandbox ... (70 actions running) [11,715 / 12,943] 241 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 77s remote-cache, linux-sandbox ... (70 actions running) [11,716 / 12,943] 241 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 78s remote-cache, linux-sandbox ... (70 actions running) [11,721 / 12,943] 241 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,722 / 12,943] 241 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,722 / 12,943] 242 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 82s remote-cache, linux-sandbox ... (70 actions running) [11,724 / 12,943] 242 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,727 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 84s remote-cache, linux-sandbox ... (70 actions running) [11,730 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 85s remote-cache, linux-sandbox ... (70 actions running) [11,732 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 86s remote-cache, linux-sandbox ... (70 actions running) [11,734 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 87s remote-cache, linux-sandbox ... (70 actions running) [11,737 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 88s remote-cache, linux-sandbox ... (70 actions running) [11,741 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 89s remote-cache, linux-sandbox ... (70 actions running) [11,741 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 90s remote-cache, linux-sandbox ... (70 actions running) [11,747 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 91s remote-cache, linux-sandbox ... (70 actions running) [11,749 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,750 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 93s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,751 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 94s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,756 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 95s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,757 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 97s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,757 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 98s remote-cache, linux-sandbox ... (70 actions running) [11,757 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 99s remote-cache, linux-sandbox ... (70 actions running) [11,760 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 100s remote-cache, linux-sandbox ... (70 actions running) [11,763 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 101s remote-cache, linux-sandbox ... (70 actions running) [11,767 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 102s remote-cache, linux-sandbox ... (70 actions running) [11,768 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 103s remote-cache, linux-sandbox ... (70 actions running) [11,773 / 12,943] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 104s remote-cache, linux-sandbox ... (70 actions running) [11,779 / 12,955] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 105s remote-cache, linux-sandbox ... (70 actions running) [11,780 / 12,955] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 106s remote-cache, linux-sandbox ... (70 actions running) [11,782 / 12,955] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 107s remote-cache, linux-sandbox ... (70 actions running) [11,785 / 12,955] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 108s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,787 / 12,955] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 110s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,787 / 12,955] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 111s remote-cache, linux-sandbox ... (70 actions running) [11,788 / 12,955] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 112s remote-cache, linux-sandbox ... (70 actions running) [11,789 / 12,955] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 113s remote-cache, linux-sandbox ... (70 actions running) [11,791 / 12,955] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 115s remote-cache, linux-sandbox ... (70 actions running) [11,799 / 12,973] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 116s remote-cache, linux-sandbox ... (70 actions running) [11,799 / 12,973] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 118s remote-cache, linux-sandbox ... (70 actions running) [11,804 / 12,973] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 119s remote-cache, linux-sandbox ... (70 actions running) [11,805 / 12,973] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 120s remote-cache, linux-sandbox ... (70 actions running) [11,805 / 12,973] 243 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 121s remote-cache, linux-sandbox ... (70 actions running) [11,808 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 122s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,810 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 123s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,812 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 125s remote-cache, linux-sandbox ... (70 actions running) [11,813 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 126s remote-cache, linux-sandbox ... (70 actions running) [11,813 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 127s remote-cache, linux-sandbox ... (70 actions running) [11,817 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 128s remote-cache, linux-sandbox ... (70 actions running) [11,821 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 129s remote-cache, linux-sandbox ... (70 actions running) [11,822 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 131s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,822 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 132s remote-cache, linux-sandbox ... (70 actions running) [11,826 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 133s remote-cache, linux-sandbox ... (70 actions running) [11,828 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 134s remote-cache, linux-sandbox ... (70 actions running) [11,830 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 135s remote-cache, linux-sandbox ... (70 actions running) [11,832 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 136s remote-cache, linux-sandbox ... (70 actions running) [11,834 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 138s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,836 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 139s remote-cache, linux-sandbox ... (70 actions running) [11,837 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 141s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,842 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 142s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,843 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 143s remote-cache, linux-sandbox ... (70 actions running) [11,847 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 144s remote-cache, linux-sandbox ... (70 actions running) [11,850 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 146s remote-cache, linux-sandbox ... (70 actions running) [11,851 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 147s remote-cache, linux-sandbox ... (70 actions running) [11,853 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 148s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,854 / 12,973] 244 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 150s remote-cache, linux-sandbox ... (70 actions running) [11,855 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 85s remote-cache, linux-sandbox ... (70 actions running) [11,857 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [11,858 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 88s remote-cache, linux-sandbox ... (70 actions running) [11,859 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 89s remote-cache, linux-sandbox ... (70 actions running) [11,861 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 90s remote-cache, linux-sandbox ... (70 actions running) [11,865 / 12,973] 244 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 11 of 11); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,865 / 12,973] 244 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 11 of 11); 53s remote-cache, linux-sandbox ... (70 actions running) [11,868 / 12,973] 244 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 11 of 11); 54s remote-cache, linux-sandbox ... (70 actions running) [11,870 / 12,973] 244 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 11 of 11); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,871 / 12,973] 244 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 11 of 11); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,871 / 12,973] 244 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 11 of 11); 58s remote-cache, linux-sandbox ... (70 actions running) [11,873 / 12,973] 244 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 11 of 11); 59s remote-cache, linux-sandbox ... (70 actions running) [11,873 / 12,973] 244 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 11 of 11); 60s remote-cache, linux-sandbox ... (70 actions running) [11,874 / 12,973] 244 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 11 of 11); 61s remote-cache, linux-sandbox ... (70 actions running) [11,879 / 12,973] 244 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 13 of 22); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,884 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,884 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [11,885 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [11,887 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [11,887 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [11,891 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,892 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,893 / 12,973] 244 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [11,895 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [11,899 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [11,901 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,902 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,907 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,908 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,908 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 73s remote-cache, linux-sandbox ... (70 actions running) [11,909 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 75s remote-cache, linux-sandbox ... (70 actions running) [11,910 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 76s remote-cache, linux-sandbox ... (70 actions running) [11,911 / 12,973] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 77s remote-cache, linux-sandbox ... (70 actions running) [11,915 / 12,975] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,918 / 12,975] 245 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 80s remote-cache, linux-sandbox ... (70 actions running) [11,920 / 12,975] 246 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,920 / 12,975] 246 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 63s remote-cache, linux-sandbox ... (70 actions running) [11,923 / 12,975] 247 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 64s remote-cache, linux-sandbox ... (70 actions running) [11,926 / 12,975] 247 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 65s remote-cache, linux-sandbox ... (70 actions running) [11,928 / 12,975] 247 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,930 / 12,975] 247 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 68s remote-cache, linux-sandbox ... (70 actions running) [11,934 / 12,975] 247 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,934 / 12,975] 247 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 71s remote-cache, linux-sandbox ... (70 actions running) [11,935 / 12,975] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 73s remote-cache, linux-sandbox ... (70 actions running) [11,939 / 12,975] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 74s remote-cache, linux-sandbox ... (70 actions running) [11,941 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 75s remote-cache, linux-sandbox ... (70 actions running) [11,943 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 76s remote-cache, linux-sandbox ... (70 actions running) [11,946 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,950 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 79s remote-cache, linux-sandbox ... (70 actions running) [11,951 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,953 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 12 of 17); 83s remote-cache, linux-sandbox ... (70 actions running) [11,954 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 65s remote-cache, linux-sandbox ... (70 actions running) [11,954 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 66s remote-cache, linux-sandbox ... (70 actions running) [11,956 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 67s remote-cache, linux-sandbox ... (70 actions running) [11,958 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,960 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,961 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 71s remote-cache, linux-sandbox ... (70 actions running) [11,963 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 72s remote-cache, linux-sandbox ... (70 actions running) [11,965 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 73s remote-cache, linux-sandbox ... (70 actions running) [11,965 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 74s remote-cache, linux-sandbox ... (70 actions running) [11,969 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,970 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,974 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,974 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 79s remote-cache, linux-sandbox ... (70 actions running) [11,976 / 13,001] 248 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 81s remote-cache, linux-sandbox ... (70 actions running) [11,978 / 13,001] 249 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 82s remote-cache, linux-sandbox ... (70 actions running) [11,982 / 13,001] 249 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,984 / 13,001] 249 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 85s remote-cache, linux-sandbox ... (70 actions running) [11,984 / 13,001] 249 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 86s remote-cache, linux-sandbox ... (70 actions running) [11,986 / 13,001] 250 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,988 / 13,001] 251 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 88s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,988 / 13,001] 251 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 89s remote-cache, linux-sandbox ... (70 actions running) [11,988 / 13,001] 251 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 90s remote-cache, linux-sandbox ... (70 actions running) [11,989 / 13,001] 251 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 91s remote-cache, linux-sandbox ... (70 actions running) [11,992 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 92s remote-cache, linux-sandbox ... (70 actions running) [11,992 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 93s remote-cache, linux-sandbox ... (70 actions running) [11,993 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 94s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,997 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 95s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,998 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 97s remote-cache, linux-sandbox ... (70 actions running) [12,000 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 98s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,001 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 99s remote-cache, linux-sandbox ... (70 actions running) [12,003 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 100s remote-cache, linux-sandbox ... (70 actions running) [12,004 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 102s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,004 / 13,001] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 103s remote-cache, linux-sandbox ... (70 actions running) [12,008 / 13,005] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 105s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,010 / 13,034] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 106s remote-cache, linux-sandbox ... (70 actions running) [12,015 / 13,034] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 107s remote-cache, linux-sandbox ... (70 actions running) [12,016 / 13,034] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 109s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,019 / 13,034] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 110s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,027 / 13,053] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 111s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,028 / 13,053] 252 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 112s remote-cache, linux-sandbox ... (70 actions running) [12,031 / 13,053] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 113s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,032 / 13,053] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 115s remote-cache, linux-sandbox ... (70 actions running) [12,033 / 13,053] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 116s remote-cache, linux-sandbox ... (70 actions running) [12,035 / 13,053] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 117s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,036 / 13,053] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 118s remote-cache, linux-sandbox ... (70 actions running) [12,037 / 13,053] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 119s remote-cache, linux-sandbox ... (70 actions running) [12,038 / 13,053] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 120s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,041 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 121s remote-cache, linux-sandbox ... (70 actions running) [12,041 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 122s remote-cache, linux-sandbox ... (70 actions running) [12,044 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 123s remote-cache, linux-sandbox ... (70 actions running) [12,044 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 124s remote-cache, linux-sandbox ... (70 actions running) [12,046 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 125s remote-cache, linux-sandbox ... (70 actions running) [12,046 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 126s remote-cache, linux-sandbox ... (70 actions running) [12,048 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 128s remote-cache, linux-sandbox ... (70 actions running) [12,050 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 129s remote-cache, linux-sandbox ... (70 actions running) [12,051 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 130s remote-cache, linux-sandbox ... (70 actions running) [12,053 / 13,059] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 131s remote-cache, linux-sandbox ... (70 actions running) [12,054 / 13,078] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 132s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,055 / 13,078] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 134s remote-cache, linux-sandbox ... (70 actions running) [12,058 / 13,117] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 135s remote-cache, linux-sandbox ... (70 actions running) [12,061 / 13,117] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 136s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,063 / 13,117] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 138s remote-cache, linux-sandbox ... (70 actions running) [12,066 / 13,117] 253 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 139s remote-cache, linux-sandbox ... (70 actions running) [12,072 / 13,117] 254 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 140s remote-cache, linux-sandbox ... (68 actions, 66 running) [12,072 / 13,117] 254 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 142s remote-cache, linux-sandbox ... (70 actions running) [12,075 / 13,117] 254 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 143s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,078 / 13,117] 255 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 145s remote-cache, linux-sandbox ... (70 actions running) [12,079 / 13,117] 255 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 146s remote-cache, linux-sandbox ... (70 actions running) [12,080 / 13,117] 255 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 147s remote-cache, linux-sandbox ... (70 actions running) [12,081 / 13,117] 255 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 148s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,084 / 13,117] 255 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 150s remote-cache, linux-sandbox ... (70 actions running) [12,085 / 13,117] 255 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [12,085 / 13,117] 255 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [12,089 / 13,119] 255 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) [12,092 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [12,095 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [12,098 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [12,102 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,107 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,108 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,110 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [12,112 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 70s remote-cache, linux-sandbox ... (70 actions running) [12,115 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 71s remote-cache, linux-sandbox ... (70 actions running) [12,121 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,122 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 74s remote-cache, linux-sandbox ... (70 actions running) [12,126 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 75s remote-cache, linux-sandbox ... (70 actions running) [12,128 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,131 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 77s remote-cache, linux-sandbox ... (69 actions running) [12,134 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 79s remote-cache, linux-sandbox ... (70 actions running) [12,136 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 80s remote-cache, linux-sandbox ... (70 actions running) [12,137 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 81s remote-cache, linux-sandbox ... (70 actions running) [12,140 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 82s remote-cache, linux-sandbox ... (68 actions, 67 running) [12,141 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,144 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,145 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [12,147 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 88s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,149 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 89s remote-cache, linux-sandbox ... (70 actions running) [12,151 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 91s remote-cache, linux-sandbox ... (70 actions running) [12,151 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 92s remote-cache, linux-sandbox ... (70 actions running) [12,154 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 93s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,157 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 95s remote-cache, linux-sandbox ... (70 actions running) [12,157 / 13,119] 256 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 96s remote-cache, linux-sandbox ... (70 actions running) [12,157 / 13,119] 257 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 45 of 50); 97s remote-cache, linux-sandbox ... (70 actions running) [12,166 / 13,119] 257 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 43s remote-cache, linux-sandbox ... (70 actions running) [12,173 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 44s remote-cache, linux-sandbox ... (70 actions running) [12,175 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,179 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,180 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 48s remote-cache, linux-sandbox ... (70 actions running) [12,181 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,182 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,183 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,185 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,186 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 54s remote-cache, linux-sandbox ... (70 actions running) [12,187 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,192 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,192 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 58s remote-cache, linux-sandbox ... (70 actions running) [12,194 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 59s remote-cache, linux-sandbox ... (70 actions running) [12,196 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,197 / 13,119] 258 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 62s remote-cache, linux-sandbox ... (70 actions running) [12,199 / 13,119] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 64s remote-cache, linux-sandbox ... (70 actions running) [12,208 / 13,119] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,210 / 13,119] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,212 / 13,119] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,212 / 13,119] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 69s remote-cache, linux-sandbox ... (70 actions running) [12,213 / 13,119] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 70s remote-cache, linux-sandbox ... (70 actions running) [12,214 / 13,119] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,214 / 13,119] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 73s remote-cache, linux-sandbox ... (70 actions running) [12,217 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 74s remote-cache, linux-sandbox ... (70 actions running) [12,217 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 76s remote-cache, linux-sandbox ... (70 actions running) [12,219 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 77s remote-cache, linux-sandbox ... (70 actions running) [12,219 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 78s remote-cache, linux-sandbox ... (70 actions running) [12,220 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 79s remote-cache, linux-sandbox ... (70 actions running) [12,225 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,230 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) FAIL: //pkg/planner/core:core_test (shard 11 of 50) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_11_of_50/test_attempts/attempt_1.log) [12,234 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 83s remote-cache, linux-sandbox ... (70 actions running) [12,234 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 84s remote-cache, linux-sandbox ... (70 actions running) [12,238 / 13,126] 259 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,244 / 13,126] 260 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,244 / 13,126] 260 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 88s remote-cache, linux-sandbox ... (70 actions running) [12,246 / 13,126] 260 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 89s remote-cache, linux-sandbox ... (70 actions running) [12,250 / 13,126] 260 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,252 / 13,126] 261 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 92s remote-cache, linux-sandbox ... (70 actions running) [12,254 / 13,126] 261 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 93s remote-cache, linux-sandbox ... (70 actions running) [12,256 / 13,126] 261 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 94s remote-cache, linux-sandbox ... (70 actions running) [12,258 / 13,126] 261 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 95s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,263 / 13,128] 261 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 96s remote-cache, linux-sandbox ... (69 actions, 68 running) INFO: From Testing //pkg/planner/core:core_test (shard 11 of 50): ==================== Test output for //pkg/planner/core:core_test (shard 11 of 50): === RUN TestMppAggShouldAlignFinalMode [2024/05/23 09:20:44.660 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:20:44.661 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:44.661 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:44.663 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:44.663 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:44.663 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:44.665 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=ab417e51-8515-4eef-aabf-befa9245010e] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:20:44.679 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:20:44.679 +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/23 09:20:44.680 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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/planner/core_test.TestMppAggShouldAlignFinalMode\n\tpkg/planner/core/enforce_mpp_test.go:30\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:20:44.684 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=4.222795ms] [2024/05/23 09:20:44.684 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:44.684 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=db61212f-db7a-4e2c-bab7-884b3fc53931] [runWorker=true] [2024/05/23 09:20:44.685 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:20:44.685 +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/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:44.685 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:44.685 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:20:44.685 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:20:44.685 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:44.685 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:20:44.685 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:44.686 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:20:44.692 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:44.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:44.692 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:44.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:20:44.700 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:44.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.709 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.764526ms] [2024/05/23 09:20:44.710 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:44.711 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:44.711 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:20:44.713 +00:00] [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.557885ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:20:44.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.720 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:44.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.723 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:20:44.723 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:44.724 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:20:44.725 +00:00] [INFO] [session.go:3959] ["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/23 09:20:44.732 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:44.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:44.732 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:44.727 +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/23 09:20:44.743 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:44.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.754 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.0539ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:44.756 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:44.756 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:20:44.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=2] ["take time"=4.404963ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:44.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.765 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:44.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.773 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:20:44.773 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:44.774 +00:00] [INFO] [session.go:3959] ["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/23 09:20:44.777 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:44.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:44.777 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:44.776 +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/23 09:20:44.784 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:44.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.790 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=310.217µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:44.792 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:44.792 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:20:44.792 +00:00] [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.242861ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:44.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.799 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:44.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.810 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:20:44.810 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:44.810 +00:00] [INFO] [session.go:3959] ["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/23 09:20:44.814 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:44.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:44.815 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:44.813 +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/23 09:20:44.820 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:44.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.823 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=240.04µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:44.824 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:44.824 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:20:44.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=4] ["take time"=2.327347ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:44.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.829 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:44.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.833 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:20:44.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:44.834 +00:00] [INFO] [session.go:3959] ["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/23 09:20:44.839 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:44.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:44.839 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:44.835 +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/23 09:20:44.844 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:44.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.850 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=408.486µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:44.851 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:44.851 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:20:44.869 +00:00] [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"=19.87854ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:44.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.883 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:44.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.893 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:20:44.893 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:44.893 +00:00] [INFO] [session.go:3959] ["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/23 09:20:44.897 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:44.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:44.897 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:44.895 +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/23 09:20:44.903 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:44.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.908 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=353.9µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:44.910 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:44.910 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:20:44.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=6] ["take time"=2.039271ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:44.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.915 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:44.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.919 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:20:44.919 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:44.919 +00:00] [INFO] [session.go:3959] ["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/23 09:20:44.927 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:44.925 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:44.927 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:44.925 +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/23 09:20:44.934 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:44.925 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.938 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=339.75µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:44.939 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:44.939 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:20:44.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=7] ["take time"=2.007538ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:44.925 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.944 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:44.925 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.948 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:20:44.948 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:44.948 +00:00] [INFO] [session.go:3959] ["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/23 09:20:44.951 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:44.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:44.951 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:44.949 +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/23 09:20:44.957 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:44.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.959 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=238.116µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:44.960 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:44.960 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:20:44.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=8] ["take time"=2.656933ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:44.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.966 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:44.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.969 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:20:44.969 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:44.969 +00:00] [INFO] [session.go:3959] ["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/23 09:20:44.972 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:44.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:44.972 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:44.97 +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/23 09:20:44.980 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:44.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.983 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=253.825µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:44.985 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:44.985 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:20:44.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=9] ["take time"=3.025179ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:44.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:44.998 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:44.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.001 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:20:45.001 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.002 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.008 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.008 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.006 +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/23 09:20:45.015 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.018 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=320.145µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.019 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.019 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:20:45.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=10] ["take time"=2.34223ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.025 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.029 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:20:45.029 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.030 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.033 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.033 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.031 +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/23 09:20:45.041 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.044 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=318.661µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.046 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.046 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:20:45.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=11] ["take time"=4.617667ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.057 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.061 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:20:45.061 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.062 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.062 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:45.065 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.065 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.063 +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/23 09:20:45.071 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.076 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=429.61µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.077 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.077 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:20:45.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=12] ["take time"=4.166022ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.085 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.092 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:20:45.092 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.093 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.097 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.097 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.095 +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/23 09:20:45.106 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.110 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=395.099µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.111 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.111 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:20:45.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=13] ["take time"=2.052986ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.129 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.135 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:20:45.135 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.136 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.139 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.139 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.137 +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/23 09:20:45.148 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.152 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=257.36µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.154 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.154 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:20:45.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=14] ["take time"=2.053625ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.168 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.173 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:20:45.173 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.174 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.182 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.182 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.18 +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/23 09:20:45.191 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.203 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=472.843µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.204 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.204 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:20:45.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=15] ["take time"=6.458752ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.216 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.220 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:20:45.220 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.220 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.224 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.224 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.222 +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/23 09:20:45.232 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.235 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=311.282µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.236 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.236 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:20:45.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=16] ["take time"=2.010237ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.245 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.248 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:20:45.248 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.248 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.251 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.251 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.25 +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/23 09:20:45.259 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.263 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=336.291µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.264 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.264 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:20:45.267 +00:00] [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.137732ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.272 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.276 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:20:45.276 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.276 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.281 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.281 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.279 +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/23 09:20:45.288 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.291 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=288.086µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.292 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.292 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:20:45.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=18] ["take time"=2.385103ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.301 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.304 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:20:45.304 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.304 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.308 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.308 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.306 +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/23 09:20:45.315 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.319 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=326.184µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.321 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.321 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:20:45.321 +00:00] [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.180062ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.326 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.332 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:20:45.333 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.336 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.339 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.339 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.338 +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/23 09:20:45.349 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.353 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=313.366µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.355 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.355 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:20:45.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=20] ["take time"=4.299427ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.363 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.369 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:20:45.369 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.369 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.372 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.373 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.371 +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/23 09:20:45.379 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.382 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=253.38µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.384 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.384 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:20:45.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=21] ["take time"=2.288775ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.389 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.392 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:20:45.392 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.392 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.395 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.396 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.394 +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/23 09:20:45.403 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.405 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=188.882µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.406 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.406 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:20:45.407 +00:00] [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.080518ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.418 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.422 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:20:45.422 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.422 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.426 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.426 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.424 +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/23 09:20:45.435 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.439 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=416.892µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.440 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.441 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:20:45.441 +00:00] [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.605357ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.446 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.450 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:20:45.450 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.451 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.455 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.456 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.452 +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/23 09:20:45.462 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.466 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=294.296µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.467 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.467 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:20:45.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=24] ["take time"=2.786208ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.474 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.478 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:20:45.478 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.478 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.481 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.481 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.48 +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/23 09:20:45.489 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.492 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=295.926µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.494 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.494 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:20:45.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=25] ["take time"=2.033922ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.500 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.507 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:20:45.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.508 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.516 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.516 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.514 +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/23 09:20:45.524 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.527 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=264.738µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.529 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.529 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:20:45.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=26] ["take time"=2.805732ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.535 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.538 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:20:45.539 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.539 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.542 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.542 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.541 +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/23 09:20:45.552 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.556 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=279.245µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.557 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.557 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:20:45.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=27] ["take time"=2.064504ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.567 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.570 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:20:45.570 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.571 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.575 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.575 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.573 +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/23 09:20:45.582 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.586 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=279.033µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.587 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.587 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:20:45.589 +00:00] [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.045457ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.596 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.599 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:20:45.599 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.600 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.600 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:45.602 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.602 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.601 +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/23 09:20:45.609 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.613 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=350.481µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.614 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.614 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:20:45.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=29] ["take time"=2.015769ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.620 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.623 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:20:45.623 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.623 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.626 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.626 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.625 +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/23 09:20:45.632 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.636 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=335.32µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.637 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.637 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:20:45.637 +00:00] [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.011776ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.650 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.654 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:20:45.654 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.654 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.657 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.657 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.656 +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/23 09:20:45.664 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.667 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=351.842µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.669 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.669 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:20:45.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=31] ["take time"=4.488213ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.677 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.680 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:20:45.680 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.681 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.684 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.684 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.683 +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/23 09:20:45.685 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:20:45.691 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.696 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=316.049µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.697 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.697 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:20:45.698 +00:00] [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.598541ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.702 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.706 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:20:45.706 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.707 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.709 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.709 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.708 +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/23 09:20:45.719 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.721 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=163.752µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.722 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.722 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:20: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=33] ["take time"=2.402369ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.730 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.733 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:20:45.733 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.738 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.738 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:20:45.744 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.748 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=244.059µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:20:45.749 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.749 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:20:45.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=34] ["take time"=2.03385ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:20:45.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.758 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.762 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:20:45.762 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.762 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.765 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.766 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.764 +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/23 09:20:45.776 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.779 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=342.132µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.781 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.781 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:20:45.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=35] ["take time"=4.217904ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.790 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.794 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:20:45.794 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.794 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.797 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.797 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.796 +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/23 09:20:45.807 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.810 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=255.825µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.812 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.812 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:20:45.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=36] ["take time"=2.412988ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.818 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.825 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:20:45.825 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.825 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.828 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.828 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.827 +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/23 09:20:45.839 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.842 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=222.456µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.843 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.844 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:20:45.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=37] ["take time"=2.008174ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.849 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.854 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:20:45.854 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.855 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.859 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.859 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.857 +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/23 09:20:45.866 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.890 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=508.642µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.891 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.891 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:20:45.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=38] ["take time"=7.186944ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.904 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.913 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:20:45.913 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.913 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.924 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.924 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.92 +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/23 09:20:45.932 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.938 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=520.372µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.940 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.940 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:20:45.942 +00:00] [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.400737ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.952 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.956 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:20:45.956 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.957 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.962 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.962 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.959 +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/23 09:20:45.969 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.973 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=381.776µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:45.975 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:45.975 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:20: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=40] ["take time"=2.413521ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.982 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:45.987 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:20:45.987 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:45.987 +00:00] [INFO] [session.go:3959] ["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/23 09:20:45.991 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:45.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:45.991 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:45.989 +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/23 09:20:45.998 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:45.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.003 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=542.761µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.005 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.005 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:20:46.007 +00:00] [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.912453ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:45.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.015 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:45.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.025 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:20:46.025 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.025 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.029 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.029 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.027 +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/23 09:20:46.037 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.045 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=543.719µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.046 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.046 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:20:46.050 +00:00] [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.914522ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.059 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.075 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:20:46.075 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.076 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.082 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.083 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.078 +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/23 09:20:46.091 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.096 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=503.858µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.098 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.098 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:20:46.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=43] ["take time"=2.659739ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.105 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.111 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:20:46.111 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.112 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.116 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.117 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.114 +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/23 09:20:46.124 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.128 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=415.153µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.129 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.129 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:20:46.129 +00:00] [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.016535ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.136 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.141 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:20:46.141 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.141 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.183 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.183 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.168 +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/23 09:20:46.195 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.200 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=378.655µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.201 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.201 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:20:46.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=45] ["take time"=2.909308ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.209 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.213 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:20:46.213 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.213 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.218 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.218 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.215 +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/23 09:20:46.226 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.233 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=601.578µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.234 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.234 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:20:46.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=46] ["take time"=4.024082ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.252 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.256 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:20:46.257 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.257 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.260 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.260 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.259 +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/23 09:20:46.267 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.271 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=370.342µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.272 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.272 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:20:46.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=47] ["take time"=4.129246ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.282 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.288 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:20:46.288 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.288 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.303 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.303 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.299 +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/23 09:20:46.311 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.315 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=347.674µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.316 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.316 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:20:46.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=48] ["take time"=14.437639ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.334 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.342 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:20:46.342 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.342 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.344 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.344 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.343 +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/23 09:20:46.350 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.353 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=289.586µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.354 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.354 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:20:46.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=49] ["take time"=2.055398ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.363 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.366 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:20:46.366 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.366 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:20:46.369 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.369 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:20:46.379 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.382 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=74.212µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:20:46.383 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.383 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:20:46.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=50] ["take time"=16.749268ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:20:46.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.410 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.414 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:20:46.414 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.425 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.425 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.423 +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/23 09:20:46.432 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.435 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=273.884µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:20:46.437 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.437 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:20:46.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=51] ["take time"=4.337614ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:20:46.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.445 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.449 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:20:46.449 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.484 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.798342645s] [2024/05/23 09:20:46.484 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=db61212f-db7a-4e2c-bab7-884b3fc53931] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:20:46.484 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:46.484 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=2.009µs] [2024/05/23 09:20:46.484 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.633µs] [2024/05/23 09:20:46.484 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.171µs] [2024/05/23 09:20:46.484 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.552µs] [2024/05/23 09:20:46.484 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:46.484 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=1.278µs] [2024/05/23 09:20:46.484 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:46.484 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:20:46.484 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:20:46.487 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=db61212f-db7a-4e2c-bab7-884b3fc53931] ["take time"=2.948423ms] [2024/05/23 09:20:46.487 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=db61212f-db7a-4e2c-bab7-884b3fc53931] [2024/05/23 09:20:46.487 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:20:46.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:46.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:46.487 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:20:46.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:46.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:46.487 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:20:46.487 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:20:46.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:46.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:46.487 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:20:46.487 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:20:46.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:46.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:46.487 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.225362ms] [2024/05/23 09:20:46.487 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=ab417e51-8515-4eef-aabf-befa9245010e] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:20:46.495 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:20:46.495 +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/23 09:20:46.506 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=10.841993ms] [2024/05/23 09:20:46.506 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:46.506 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=a66d5d64-0071-4908-8ea8-063e43ae05a8] [runWorker=true] [2024/05/23 09:20:46.506 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:20:46.506 +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/23 09:20:46.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:46.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:46.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:46.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:46.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:46.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:46.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:46.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:46.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:46.506 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:20:46.507 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:20:46.507 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:46.508 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:20:46.508 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:46.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:20:46.510 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:20:46.513 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/23 09:20:46.514 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:20:46.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:20:46.529 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:20:46.531 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:20:46.531 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:20:46.532 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:20:46.532 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:20:46.532 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:20:46.533 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:20:46.533 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:20:46.534 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:20:46.534 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:20:46.535 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:20:46.535 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:20:46.535 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:20:46.541 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:46.542 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table t ( d date, v int, primary key(d, v)) partition by range columns (d) ( partition p1 values less than ('2023-07-02'), partition p2 values less than ('2023-07-03'));"] [user=] [2024/05/23 09:20:46.548 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.548 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t ( d date, v int, primary key(d, v)) partition by range columns (d) ( partition p1 values less than ('2023-07-02'), partition p2 values less than ('2023-07-03'));"] [2024/05/23 09:20:46.562 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:46.562 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:20:46.570 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.573 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:20:46.602 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=29.362425ms] [2024/05/23 09:20:46.614 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:46.616 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=52] [2024/05/23 09:20:46.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=52] ["take time"=44.162844ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.623 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.627 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:20:46.627 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.628 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[planner:1815]Internal : No access path for table 't' is found with 'tidb_isolation_read_engines' = 'tiflash', valid values can be 'tikv'. Please check tiflash replica."] [errorVerbose="[planner:1815]Internal : No access path for table 't' is found with 'tidb_isolation_read_engines' = 'tiflash', valid values can be 'tikv'. Please check tiflash replica.\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.filterPathByIsolationRead\n\tpkg/planner/core/planbuilder.go:1257\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildDataSource\n\tpkg/planner/core/logical_plan_builder.go:4860\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildResultSetNode\n\tpkg/planner/core/logical_plan_builder.go:447\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildJoin\n\tpkg/planner/core/logical_plan_builder.go:932\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildResultSetNode\n\tpkg/planner/core/logical_plan_builder.go:433\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildTableRefs\n\tpkg/planner/core/logical_plan_builder.go:425\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelect\n\tpkg/planner/core/logical_plan_builder.go:4104\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildResultSetNode\n\tpkg/planner/core/logical_plan_builder.go:441\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildJoin\n\tpkg/planner/core/logical_plan_builder.go:932\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildResultSetNode\n\tpkg/planner/core/logical_plan_builder.go:433\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildTableRefs\n\tpkg/planner/core/logical_plan_builder.go:425\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelect\n\tpkg/planner/core/logical_plan_builder.go:4104\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:527\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:555\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:472\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:340\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildExplain\n\tpkg/planner/core/planbuilder.go:4998\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:500\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:555\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:472\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:340\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:99\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2094\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQueryWithContext\n\tpkg/testkit/testkit.go:195\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQuery\n\tpkg/testkit/testkit.go:173\ngithub.com/pingcap/tidb/pkg/planner/core_test.TestMppAggShouldAlignFinalMode\n\tpkg/planner/core/enforce_mpp_test.go:59\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="explain format='brief' select 1 from ( select /*+ read_from_storage(tiflash[t]) */ sum(1) from t where d BETWEEN '2023-07-01' and '2023-07-03' group by d) total;"] testkit.go:196: Error Trace: pkg/testkit/testkit.go:196 pkg/testkit/testkit.go:173 pkg/planner/core/enforce_mpp_test.go:59 Error: Received unexpected error: [planner:1815]Internal : No access path for table 't' is found with 'tidb_isolation_read_engines' = 'tiflash', valid values can be 'tikv'. Please check tiflash replica. github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.(*Error).GenWithStackByArgs external/com_github_pingcap_errors/normalize.go:175 github.com/pingcap/tidb/pkg/planner/core.filterPathByIsolationRead pkg/planner/core/planbuilder.go:1257 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildDataSource pkg/planner/core/logical_plan_builder.go:4860 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildResultSetNode pkg/planner/core/logical_plan_builder.go:447 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildJoin pkg/planner/core/logical_plan_builder.go:932 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildResultSetNode pkg/planner/core/logical_plan_builder.go:433 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildTableRefs pkg/planner/core/logical_plan_builder.go:425 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelect pkg/planner/core/logical_plan_builder.go:4104 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildResultSetNode pkg/planner/core/logical_plan_builder.go:441 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildJoin pkg/planner/core/logical_plan_builder.go:932 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildResultSetNode pkg/planner/core/logical_plan_builder.go:433 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildTableRefs pkg/planner/core/logical_plan_builder.go:425 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelect pkg/planner/core/logical_plan_builder.go:4104 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build pkg/planner/core/planbuilder.go:527 github.com/pingcap/tidb/pkg/planner.buildLogicalPlan pkg/planner/optimize.go:555 github.com/pingcap/tidb/pkg/planner.optimize pkg/planner/optimize.go:472 github.com/pingcap/tidb/pkg/planner.Optimize pkg/planner/optimize.go:340 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildExplain pkg/planner/core/planbuilder.go:4998 github.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build pkg/planner/core/planbuilder.go:500 github.com/pingcap/tidb/pkg/planner.buildLogicalPlan pkg/planner/optimize.go:555 github.com/pingcap/tidb/pkg/planner.optimize pkg/planner/optimize.go:472 github.com/pingcap/tidb/pkg/planner.Optimize pkg/planner/optimize.go:340 github.com/pingcap/tidb/pkg/executor.(*Compiler).Compile pkg/executor/compiler.go:99 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2094 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:384 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQueryWithContext pkg/testkit/testkit.go:195 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQuery pkg/testkit/testkit.go:173 github.com/pingcap/tidb/pkg/planner/core_test.TestMppAggShouldAlignFinalMode pkg/planner/core/enforce_mpp_test.go:59 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 Test: TestMppAggShouldAlignFinalMode Messages: sql:explain format='brief' select 1 from ( select /*+ read_from_storage(tiflash[t]) */ sum(1) from t where d BETWEEN '2023-07-01' and '2023-07-03' group by d) total;, args:[] [2024/05/23 09:20:46.630 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a66d5d64-0071-4908-8ea8-063e43ae05a8] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=2.029µs] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.016µs] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=1.299µs] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=1.18µs] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.235µs] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:46.630 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:20:46.630 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=a66d5d64-0071-4908-8ea8-063e43ae05a8] ["take time"=2.301714ms] [2024/05/23 09:20:46.630 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=a66d5d64-0071-4908-8ea8-063e43ae05a8] [2024/05/23 09:20:46.630 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:20:46.630 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:20:46.631 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:20:46.631 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:20:46.631 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:20:46.631 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:46.631 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:46.631 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:20:46.631 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:20:46.631 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a66d5d64-0071-4908-8ea8-063e43ae05a8] [ownerKey=/tidb/stats/owner] [2024/05/23 09:20:46.631 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:20:46.631 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:20:46.631 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:20:46.631 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:20:46.632 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a66d5d64-0071-4908-8ea8-063e43ae05a8] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:46.632 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:20:46.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:20:46.632 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.022411ms] [2024/05/23 09:20:46.634 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:20:46.634 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:20:46.634 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:20:46.634 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:20:46.634 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:20:46.634 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestMppAggShouldAlignFinalMode (2.01s) === RUN TestIssue37986 [2024/05/23 09:20:46.658 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:20:46.658 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:46.658 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:46.659 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:46.659 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:46.659 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:46.661 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7dae6c87-7430-4ec5-999b-686ce4ab8d81] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:20:46.668 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:20:46.668 +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/23 09:20:46.669 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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/planner/core_test.TestIssue37986\n\tpkg/planner/core/integration_test.go:1079\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:20:46.689 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=20.089414ms] [2024/05/23 09:20:46.691 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:46.691 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=884eef29-b9ef-48e5-b0b7-538aea378bae] [runWorker=true] [2024/05/23 09:20:46.691 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:20:46.691 +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/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:46.692 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:20:46.692 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:20:46.692 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:20:46.692 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:46.692 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:46.692 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:20:46.692 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:20:46.692 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:20:46.697 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.697 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:20:46.704 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.726 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=19.962789ms] [2024/05/23 09:20:46.728 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:46.730 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.731 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:20:46.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=1] ["take time"=27.982306ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:20:46.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.740 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.743 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:20:46.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.744 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:20:46.745 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.764 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.764 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.747 +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/23 09:20:46.774 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.783 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.201695ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.785 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.785 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:20:46.787 +00:00] [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"=5.049632ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.794 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.801 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:20:46.801 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.802 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.805 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.805 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.803 +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/23 09:20:46.814 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.818 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=295.6µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.819 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.819 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:20:46.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=3] ["take time"=13.819383ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.849 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.862 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:20:46.862 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.862 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.866 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.866 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.864 +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/23 09:20:46.874 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.878 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=270.318µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.879 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.879 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:20:46.881 +00:00] [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"=3.449177ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.888 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.893 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:20:46.893 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.893 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.898 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.898 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.895 +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/23 09:20:46.907 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.913 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=738.298µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.915 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.915 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:20:46.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=5] ["take time"=4.026176ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.924 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.929 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:20:46.929 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.930 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.933 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.933 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.931 +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/23 09:20:46.942 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.947 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=451.317µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.949 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.949 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:20:46.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=6] ["take time"=4.608971ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.958 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.962 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:20:46.962 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.962 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.966 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.966 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.964 +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/23 09:20:46.973 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.977 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=540.958µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:46.978 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:46.978 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:20:46.981 +00:00] [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.358596ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.986 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:46.989 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:20:46.989 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:46.990 +00:00] [INFO] [session.go:3959] ["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/23 09:20:46.993 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:46.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:46.993 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:46.991 +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/23 09:20:47.002 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:46.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.005 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=256.949µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.006 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.006 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:20:47.007 +00:00] [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.376306ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:46.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.015 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:46.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.018 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:20:47.018 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.019 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.022 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.022 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.02 +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/23 09:20:47.029 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.032 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=268.244µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.034 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.034 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:20:47.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=9] ["take time"=2.642618ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.043 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.047 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:20:47.047 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.047 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.050 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.050 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.049 +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/23 09:20:47.060 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.064 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=363.463µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.065 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.065 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:20:47.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=10] ["take time"=2.749927ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.074 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.079 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:20:47.079 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.079 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.082 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.082 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.081 +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/23 09:20:47.091 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.095 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=354.496µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.099 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.099 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:20:47.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=11] ["take time"=7.650348ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.111 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.116 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:20:47.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.117 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.117 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:47.122 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.122 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.119 +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/23 09:20:47.128 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.135 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=554.023µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.137 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.137 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:20:47.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=12] ["take time"=4.032534ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.148 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.152 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:20:47.152 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.153 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.158 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.158 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.155 +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/23 09:20:47.169 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=488.252µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.176 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.176 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:20:47.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=13] ["take time"=5.625753ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.185 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.189 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:20:47.189 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.190 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.193 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.194 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.192 +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/23 09:20:47.203 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.206 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=331.393µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.207 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.207 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:20:47.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=14] ["take time"=2.540016ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.216 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.221 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:20:47.222 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.222 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.228 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.228 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.224 +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/23 09:20:47.236 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.259 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=395.982µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.260 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.260 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:20:47.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=15] ["take time"=4.707571ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.271 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.274 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:20:47.274 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.275 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.278 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.276 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.278 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.276 +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/23 09:20:47.290 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.276 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.298 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=350.714µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.299 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.299 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:20:47.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=16] ["take time"=2.943701ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.276 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.308 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.276 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.312 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:20:47.312 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.312 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.317 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.317 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.314 +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/23 09:20:47.327 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.330 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=303.248µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.331 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.331 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:20:47.332 +00:00] [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.339306ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.339 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.343 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:20:47.343 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.344 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.352 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.353 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.351 +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/23 09:20:47.361 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.365 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=363.509µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.366 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.367 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:20:47.379 +00:00] [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"=14.282853ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.391 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.395 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:20:47.395 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.396 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.406 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.406 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.404 +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/23 09:20:47.417 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.423 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=530.859µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.425 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.425 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:20:47.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=19] ["take time"=5.222858ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.434 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.439 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:20:47.439 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.440 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.443 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.443 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.442 +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/23 09:20:47.450 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.454 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=344.602µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.455 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.455 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:20:47.455 +00:00] [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.109532ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.461 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.465 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:20:47.466 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.466 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.476 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.476 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.475 +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/23 09:20:47.483 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.486 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=286.357µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.488 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.488 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:20:47.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=21] ["take time"=2.413884ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.497 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.502 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:20:47.502 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.502 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.507 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.507 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.504 +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/23 09:20:47.514 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.521 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=232.948µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.523 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.523 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:20:47.528 +00:00] [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"=6.650496ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.535 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.540 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:20:47.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.541 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.545 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.545 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.543 +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/23 09:20:47.554 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.559 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=430.298µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.561 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.561 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:20:47.563 +00:00] [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.607302ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.571 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.577 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:20:47.577 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.577 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.581 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.579 +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/23 09:20:47.581 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.589 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.593 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=342.612µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.595 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.595 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:20:47.595 +00:00] [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.04283ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.603 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.607 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:20:47.607 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.607 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.611 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.611 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.609 +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/23 09:20:47.620 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.626 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=397.888µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.628 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.628 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:20:47.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=25] ["take time"=7.934955ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.639 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.642 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:20:47.643 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.643 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.645 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.646 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.644 +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/23 09:20:47.654 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.657 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=304.956µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.659 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.659 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:20:47.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=26] ["take time"=2.247044ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.666 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.671 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:20:47.671 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.671 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.675 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.675 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.673 +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/23 09:20:47.682 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.687 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=356.223µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.688 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.688 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:20:47.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=27] ["take time"=2.028052ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.692 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:20:47.694 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.699 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:20:47.699 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.700 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.706 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.706 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.702 +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/23 09:20:47.714 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.717 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=277.411µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.719 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.719 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:20:47.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=28] ["take time"=2.713324ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.726 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.729 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:20:47.729 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.729 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.729 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:47.741 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.741 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.731 +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/23 09:20:47.748 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.752 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=314.054µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.754 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.754 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:20:47.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=29] ["take time"=2.269761ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.760 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.773 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:20:47.773 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.774 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.777 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.777 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.775 +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/23 09:20:47.786 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.797 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=444.058µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.799 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.799 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:20:47.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=30] ["take time"=15.810551ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.824 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.828 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:20:47.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.829 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.832 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.832 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.83 +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/23 09:20:47.839 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.844 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=480.116µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.847 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.847 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:20:47.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=31] ["take time"=4.228155ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.854 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.858 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:20:47.858 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.859 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.862 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.862 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.86 +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/23 09:20:47.871 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.876 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=529.895µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.878 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.878 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:20:47.880 +00:00] [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.054648ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.889 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.895 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:20:47.895 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.895 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.899 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.899 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.897 +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/23 09:20:47.909 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.912 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=258.711µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.914 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.914 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:20:47.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=33] ["take time"=3.169886ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.922 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.926 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:20:47.926 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.931 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.931 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:20:47.938 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.942 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=427.442µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:20:47.944 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.944 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:20:47.944 +00:00] [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.081716ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:20:47.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.953 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.958 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:20:47.958 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.959 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.964 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.964 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.96 +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/23 09:20:47.972 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.978 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=379.57µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:47.980 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:47.980 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:20:47.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=35] ["take time"=4.644074ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.989 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:47.994 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:20:47.994 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:47.994 +00:00] [INFO] [session.go:3959] ["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/23 09:20:47.998 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:47.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:47.998 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:47.996 +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/23 09:20:48.010 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:47.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.012 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=215.475µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.014 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.014 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:20:48.017 +00:00] [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.197343ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:47.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.024 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:47.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.028 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:20:48.028 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.028 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.032 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.032 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.03 +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/23 09:20:48.042 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.045 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=305.684µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.047 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.047 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:20:48.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=37] ["take time"=2.02073ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.052 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.056 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:20:48.056 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.056 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.060 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.060 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.058 +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/23 09:20:48.069 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.077 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=618.327µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.078 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.078 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:20:48.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=38] ["take time"=4.782753ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.087 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.091 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:20:48.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.092 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.095 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.095 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.093 +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/23 09:20:48.103 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.108 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=594.528µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.110 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.110 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:20:48.112 +00:00] [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.17487ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.118 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.123 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:20:48.123 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.123 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.136 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.136 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.125 +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/23 09:20:48.145 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.150 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=621.897µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.152 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.152 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:20:48.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=40] ["take time"=6.636797ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.162 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.167 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:20:48.167 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.168 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.180 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.180 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.17 +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/23 09:20:48.189 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.195 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=532.585µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.196 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.196 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:20:48.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=41] ["take time"=2.083012ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.202 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.207 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:20:48.207 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.207 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.211 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.211 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.209 +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/23 09:20:48.219 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.223 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=440.274µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.225 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.225 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:20:48.227 +00:00] [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.06945ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.233 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.238 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:20:48.238 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.238 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.242 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.242 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.24 +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/23 09:20:48.250 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.256 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=619.642µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.258 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.258 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:20:48.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=43] ["take time"=6.552669ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.273 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.277 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:20:48.277 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.278 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.281 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.281 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.279 +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/23 09:20:48.291 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.296 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=378.619µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.297 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.297 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:20:48.307 +00:00] [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"=11.935178ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.314 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.320 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:20:48.320 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.320 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.324 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.324 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.322 +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/23 09:20:48.331 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.338 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=420.08µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.339 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.339 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:20:48.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=45] ["take time"=4.907297ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.354 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.358 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:20:48.358 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.359 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.363 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.363 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.36 +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/23 09:20:48.369 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.375 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=680.793µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.377 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.377 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:20:48.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=46] ["take time"=5.373527ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.389 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.394 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:20:48.394 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.395 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.398 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.398 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.396 +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/23 09:20:48.408 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.412 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=385.304µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.413 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.414 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:20:48.416 +00:00] [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.643636ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.424 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.429 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:20:48.429 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.429 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.432 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.432 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.431 +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/23 09:20:48.441 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.445 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=319.801µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.446 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.446 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:20:48.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=48] ["take time"=2.777076ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.455 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.460 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:20:48.460 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.460 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.464 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.464 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.462 +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/23 09:20:48.471 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.474 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=312.221µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.475 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.475 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:20:48.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=49] ["take time"=2.082757ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.486 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.490 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:20:48.490 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.490 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:20:48.493 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.493 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:20:48.502 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.504 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=90.546µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:20:48.505 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.505 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:20:48.506 +00:00] [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.043721ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:20:48.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.515 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.518 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:20:48.518 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.522 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.522 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.52 +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/23 09:20:48.531 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.534 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=278.614µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:20:48.536 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.536 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:20:48.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=51] ["take time"=4.198138ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:20:48.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.545 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.549 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:20:48.549 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.587 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.895601492s] [2024/05/23 09:20:48.590 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=884eef29-b9ef-48e5-b0b7-538aea378bae] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:20:48.590 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:48.590 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 14, tp add index"] [category=ddl] ["take time"=2.751µs] [2024/05/23 09:20:48.590 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 15, tp add index"] [category=ddl] ["take time"=1.405µs] [2024/05/23 09:20:48.590 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 12, tp add index"] [category=ddl] ["take time"=1.022µs] [2024/05/23 09:20:48.590 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 13, tp add index"] [category=ddl] ["take time"=987ns] [2024/05/23 09:20:48.590 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:48.590 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 11, tp general"] [category=ddl] ["take time"=1.288µs] [2024/05/23 09:20:48.590 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:48.590 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:20:48.590 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:20:48.594 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=884eef29-b9ef-48e5-b0b7-538aea378bae] ["take time"=6.309342ms] [2024/05/23 09:20:48.594 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=884eef29-b9ef-48e5-b0b7-538aea378bae] [2024/05/23 09:20:48.594 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:48.594 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:20:48.594 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:48.594 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:48.594 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:20:48.594 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:48.594 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:20:48.594 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:48.594 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:20:48.594 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:20:48.594 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:48.594 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:48.594 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:20:48.594 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:48.594 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.853155ms] [2024/05/23 09:20:48.594 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7dae6c87-7430-4ec5-999b-686ce4ab8d81] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:20:48.602 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:20:48.602 +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/23 09:20:48.635 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=32.860704ms] [2024/05/23 09:20:48.647 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:48.648 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=55aebeb5-c1c6-4e2c-99dd-e1994b0b3567] [runWorker=true] [2024/05/23 09:20:48.648 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:20:48.648 +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/23 09:20:48.648 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:48.648 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:48.648 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:48.648 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:48.648 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:48.648 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:48.648 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:48.648 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:48.648 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:48.648 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:20:48.648 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:20:48.648 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:48.649 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:20:48.649 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:20:48.649 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:48.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:20:48.657 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:20:48.672 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:20:48.675 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:20:48.677 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:20:48.678 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:20:48.678 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:20:48.678 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:20:48.678 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:20:48.679 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:20:48.679 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:20:48.681 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:20:48.681 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:20:48.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:20:48.687 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:20:48.687 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:20:48.688 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t3"] [user=] [2024/05/23 09:20:48.689 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="CREATE TABLE t3(c0 INT, primary key(c0))"] [user=] [2024/05/23 09:20:48.691 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.691 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t3(c0 INT, primary key(c0))"] [2024/05/23 09:20:48.698 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:48.698 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:20:48.706 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.709 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:20:48.724 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=15.266977ms] [2024/05/23 09:20:48.725 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:48.726 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:20:48.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=52] ["take time"=18.973743ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.733 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.739 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:20:48.739 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.743 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=55aebeb5-c1c6-4e2c-99dd-e1994b0b3567] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 17, tp add index"] [category=ddl] ["take time"=2.347µs] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 18, tp add index"] [category=ddl] ["take time"=1.054µs] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 19, tp add index"] [category=ddl] ["take time"=1.108µs] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 20, tp add index"] [category=ddl] ["take time"=1.523µs] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 16, tp general"] [category=ddl] ["take time"=798ns] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:48.743 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:20:48.743 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=55aebeb5-c1c6-4e2c-99dd-e1994b0b3567] ["take time"=368.045µs] [2024/05/23 09:20:48.743 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=55aebeb5-c1c6-4e2c-99dd-e1994b0b3567] [2024/05/23 09:20:48.743 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:20:48.743 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:20:48.743 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:48.743 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:48.743 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:48.743 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:48.743 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:20:48.743 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:48.743 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:48.743 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:48.743 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=55aebeb5-c1c6-4e2c-99dd-e1994b0b3567] [ownerKey=/tidb/stats/owner] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=55aebeb5-c1c6-4e2c-99dd-e1994b0b3567] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:48.744 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:20:48.744 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:48.745 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.280473ms] [2024/05/23 09:20:48.746 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:20:48.746 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:20:48.746 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:20:48.746 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:20:48.746 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:20:48.746 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestIssue37986 (2.11s) === RUN TestSortByItemsPruning --- PASS: TestSortByItemsPruning (0.00s) === RUN TestPartitionRangeColumnsForExpr --- PASS: TestPartitionRangeColumnsForExpr (0.00s) === RUN TestIssue43667Concurrency [2024/05/23 09:20:48.755 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:20:48.756 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:48.756 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:48.756 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:48.756 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:48.757 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:48.759 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=9ba86330-dc54-479d-b1bd-d261d8b72567] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:20:48.767 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:20:48.767 +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/23 09:20:48.767 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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/planner/core_test.TestIssue43667Concurrency\n\tpkg/planner/core/plan_cache_test.go:1154\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:20:48.771 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.667039ms] [2024/05/23 09:20:48.771 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:48.771 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=4e85ad5f-ea1c-446c-a4b7-0c24a8e8e3c6] [runWorker=true] [2024/05/23 09:20:48.772 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:20:48.772 +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/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:48.772 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:20:48.772 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:20:48.772 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:48.772 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:20:48.772 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:20:48.772 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:48.772 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:20:48.773 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:20:48.776 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.776 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:20:48.783 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.789 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.818047ms] [2024/05/23 09:20:48.789 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:48.791 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.791 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:20:48.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=1] ["take time"=8.11826ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:20:48.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.799 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.801 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:20:48.802 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.802 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:20:48.803 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.808 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.808 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.804 +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/23 09:20:48.818 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.829 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.170342ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.831 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.831 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:20:48.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=2] ["take time"=5.029688ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.840 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.848 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:20:48.848 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.848 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.852 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.852 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.85 +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/23 09:20:48.859 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.862 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=242.605µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.863 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.863 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:20:48.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=3] ["take time"=2.101856ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.868 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.872 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:20:48.872 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.872 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.875 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.874 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.875 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.874 +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/23 09:20:48.884 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.874 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.887 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=267.776µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.889 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.889 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:20:48.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=4] ["take time"=2.53295ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.874 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.899 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.874 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.903 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:20:48.903 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.903 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.908 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.908 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.905 +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/23 09:20:48.918 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.925 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=708.764µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.927 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.927 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:20:48.929 +00:00] [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.927344ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.938 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.945 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:20:48.945 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.946 +00:00] [INFO] [session.go:3959] ["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/23 09:20:48.950 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:48.950 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:48.948 +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/23 09:20:48.957 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.961 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=409.759µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:48.963 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:48.963 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:20:48.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=6] ["take time"=4.271734ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.973 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:48.978 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:20:48.979 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:48.997 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.006 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.006 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.004 +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/23 09:20:49.016 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.020 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=475.616µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.022 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.022 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:20:49.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=7] ["take time"=4.173591ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.035 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.040 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:20:49.040 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.040 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.043 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.043 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.042 +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/23 09:20:49.052 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.055 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=280.325µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.057 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.057 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:20:49.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=8] ["take time"=2.040218ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.061 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.067 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:20:49.067 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.067 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.070 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.070 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.069 +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/23 09:20:49.078 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.081 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=244.995µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.082 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.082 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:20:49.083 +00:00] [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.355167ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.093 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.100 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:20:49.100 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.100 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.104 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.104 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.102 +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/23 09:20:49.110 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.115 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=324.546µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.117 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.117 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:20:49.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=10] ["take time"=8.772949ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.134 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.140 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:20:49.140 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.140 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.144 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.144 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.142 +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/23 09:20:49.153 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.158 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=370.431µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.160 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.160 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:20:49.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=11] ["take time"=10.321831ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.175 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.179 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:20:49.179 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.180 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.180 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:49.183 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.183 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.181 +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/23 09:20:49.195 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.200 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=359.086µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.201 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.201 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:20:49.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=12] ["take time"=14.661352ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.220 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.225 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:20:49.225 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.225 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.228 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.229 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.227 +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/23 09:20:49.236 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.239 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=263.848µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.241 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.241 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:20:49.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=13] ["take time"=2.565181ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.246 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.250 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:20:49.250 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.251 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.254 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.254 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.252 +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/23 09:20:49.265 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.269 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=284.456µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.270 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.270 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:20:49.270 +00:00] [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.040769ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.275 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.279 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:20:49.279 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.280 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.282 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.283 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.281 +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/23 09:20:49.292 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.296 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=241.869µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.297 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.297 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:20:49.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=15] ["take time"=2.378878ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.303 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.307 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:20:49.307 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.307 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.310 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.310 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.309 +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/23 09:20:49.320 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.326 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=415.365µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.332 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.332 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:20:49.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=16] ["take time"=8.218944ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.345 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.350 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:20:49.350 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.350 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.354 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.354 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.352 +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/23 09:20:49.362 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.367 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=386.311µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.369 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.369 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:20:49.371 +00:00] [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.172714ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.381 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.386 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:20:49.386 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.386 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.390 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.390 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.388 +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/23 09:20:49.403 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.408 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=341.021µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.409 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.409 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:20:49.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=18] ["take time"=4.732565ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.422 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.427 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:20:49.427 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.428 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.432 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.432 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.43 +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/23 09:20:49.443 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.449 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=454.287µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.451 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.451 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:20:49.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=19] ["take time"=4.256092ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.462 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.470 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:20:49.470 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.476 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.481 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.481 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.479 +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/23 09:20:49.491 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.496 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=392.601µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.498 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.498 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:20:49.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=20] ["take time"=4.687662ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.507 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.511 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:20:49.511 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.511 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.520 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.520 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.518 +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/23 09:20:49.530 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.534 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=288.055µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.536 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.536 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:20:49.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=21] ["take time"=7.394372ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.549 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.553 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:20:49.553 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.553 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.559 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.559 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.557 +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/23 09:20:49.569 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.573 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=237.094µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.574 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.574 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:20:49.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=22] ["take time"=4.406712ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.585 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.588 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:20:49.589 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.589 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.593 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.593 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.591 +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/23 09:20:49.606 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.613 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=407.512µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.615 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.615 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:20:49.620 +00:00] [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.622375ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.626 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.630 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:20:49.630 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.630 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.634 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.634 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.632 +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/23 09:20:49.641 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.644 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=287.793µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.645 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.645 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:20: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=24] ["take time"=2.796275ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.653 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.632 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.660 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:20:49.660 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.661 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.676 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.676 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.666 +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/23 09:20:49.686 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.691 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=293.431µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.692 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.692 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:20:49.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=25] ["take time"=4.227224ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.700 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.705 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:20:49.705 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.705 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.712 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.712 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.709 +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/23 09:20:49.720 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.724 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=259.03µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.725 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.725 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:20:49.725 +00:00] [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.045072ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.737 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.744 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:20:49.744 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.744 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.749 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.749 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.747 +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/23 09:20:49.768 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.772 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=378.259µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.773 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:20:49.774 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.774 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:20:49.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=27] ["take time"=5.239997ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.782 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.786 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:20:49.786 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.787 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.793 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.794 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.789 +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/23 09:20:49.806 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.811 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=283.334µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.813 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.813 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:20:49.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=28] ["take time"=6.195457ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.823 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.827 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:20:49.827 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.827 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.828 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:49.831 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.831 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.829 +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/23 09:20:49.843 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.847 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=346.572µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.849 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.849 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:20:49.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=29] ["take time"=2.039168ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.857 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.861 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:20:49.861 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.861 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.868 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.868 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.866 +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/23 09:20:49.874 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.878 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=340.09µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.879 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.879 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:20:49.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=30] ["take time"=2.030157ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.893 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.898 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:20:49.898 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.899 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.904 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.904 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.901 +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/23 09:20:49.911 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.919 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=394.774µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.920 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.920 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:20:49.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=31] ["take time"=5.149134ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.932 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.936 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:20:49.936 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.937 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.941 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.941 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.938 +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/23 09:20:49.950 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.955 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=496.121µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:49.957 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:49.957 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:20:49.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=32] ["take time"=12.419993ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.973 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:49.978 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:20:49.978 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:49.979 +00:00] [INFO] [session.go:3959] ["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/23 09:20:49.984 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:49.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:49.984 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:49.98 +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/23 09:20:50.003 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:49.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.017 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=221.101µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.018 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.018 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:20:50.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=33] ["take time"=2.23833ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:49.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.025 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:49.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.029 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:20:50.029 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.034 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.034 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:20:50.042 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.047 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=309.078µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:20:50.048 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.048 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:20:50.050 +00:00] [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.162975ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:20:50.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.056 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.060 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:20:50.060 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.060 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.064 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.064 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.062 +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/23 09:20:50.072 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.076 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=370.467µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.077 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.077 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:20:50.077 +00:00] [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.027827ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.089 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.093 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:20:50.093 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.093 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.096 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.096 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.095 +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/23 09:20:50.105 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.108 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=325.186µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.110 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.110 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:20:50.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=36] ["take time"=3.50997ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.120 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.126 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:20:50.126 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.127 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.130 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.130 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.129 +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/23 09:20:50.141 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.144 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=293.437µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.146 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.146 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:20:50.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=37] ["take time"=10.485585ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.161 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.165 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:20:50.165 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.166 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.170 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.170 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.168 +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/23 09:20:50.178 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.182 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=364.978µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.183 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.183 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:20:50.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=38] ["take time"=2.334704ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.189 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.195 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:20:50.195 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.195 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.199 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.199 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.197 +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/23 09:20:50.206 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.210 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=511.258µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.212 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.212 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:20:50.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=39] ["take time"=5.954427ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.221 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.226 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:20:50.227 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.227 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.232 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.232 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.229 +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/23 09:20:50.240 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.244 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=521.573µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.246 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.246 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:20:50.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=40] ["take time"=4.807377ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.257 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.265 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:20:50.266 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.266 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.270 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.268 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.271 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.268 +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/23 09:20:50.290 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.268 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.295 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=541.519µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.297 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.297 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:20:50.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=41] ["take time"=4.794363ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.268 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.305 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.268 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.310 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:20:50.310 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.311 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.325 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.325 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.317 +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/23 09:20:50.337 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.342 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=530.655µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.344 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.344 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:20:50.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=42] ["take time"=4.453005ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.351 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.356 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:20:50.356 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.357 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.360 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.361 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.358 +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/23 09:20:50.368 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.373 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=500.908µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.374 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.374 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:20:50.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=43] ["take time"=4.008694ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.385 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.389 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:20:50.389 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.389 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.393 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.393 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.391 +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/23 09:20:50.400 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.404 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=455.813µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.405 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.405 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:20:50.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=44] ["take time"=2.101853ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.413 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.417 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:20:50.417 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.418 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.421 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.421 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.419 +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/23 09:20:50.430 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.436 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=374.35µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.437 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.437 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:20:50.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=45] ["take time"=2.013185ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.443 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.447 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:20:50.447 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.448 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.452 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.452 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.449 +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/23 09:20:50.460 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.466 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=604.776µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.467 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.467 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:20:50.471 +00:00] [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"=5.662192ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.480 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.485 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:20:50.485 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.486 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.490 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.490 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.488 +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/23 09:20:50.499 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.503 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=408.033µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.505 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.505 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:20:50.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=47] ["take time"=2.008541ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.512 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.517 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:20:50.517 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.517 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.523 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.523 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.519 +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/23 09:20:50.533 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.541 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=309.042µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.542 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.542 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:20:50.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=48] ["take time"=5.592524ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.553 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.556 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:20:50.556 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.557 +00:00] [INFO] [session.go:3959] ["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/23 09:20:50.567 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.567 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.565 +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/23 09:20:50.576 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.579 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=292.076µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:50.580 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.580 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:20:50.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=49] ["take time"=9.31031ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.594 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.599 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:20:50.599 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.600 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:20:50.602 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.602 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:20:50.610 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.612 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=71.681µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:20:50.614 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.614 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:20:50.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=50] ["take time"=3.034076ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:20:50.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.623 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.627 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:20:50.627 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.634 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.634 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.629 +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/23 09:20:50.670 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:50.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.674 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=336.837µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:20:50.677 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:50.677 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:20:50.679 +00:00] [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"=5.174365ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:20:50.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.691 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:50.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.698 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:20:50.698 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.759 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.987240445s] [2024/05/23 09:20:50.762 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4e85ad5f-ea1c-446c-a4b7-0c24a8e8e3c6] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:20:50.762 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:50.762 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 22, tp add index"] [category=ddl] ["take time"=11.041µs] [2024/05/23 09:20:50.762 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 23, tp add index"] [category=ddl] ["take time"=1.158µs] [2024/05/23 09:20:50.762 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 24, tp add index"] [category=ddl] ["take time"=1.599µs] [2024/05/23 09:20:50.762 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 25, tp add index"] [category=ddl] ["take time"=1.214µs] [2024/05/23 09:20:50.762 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:50.762 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 21, tp general"] [category=ddl] ["take time"=1.358µs] [2024/05/23 09:20:50.762 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:50.762 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:20:50.762 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:20:50.773 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=4e85ad5f-ea1c-446c-a4b7-0c24a8e8e3c6] ["take time"=13.270239ms] [2024/05/23 09:20:50.774 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=4e85ad5f-ea1c-446c-a4b7-0c24a8e8e3c6] [2024/05/23 09:20:50.774 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:20:50.774 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:50.774 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:20:50.774 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:50.774 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:20:50.774 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:50.774 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:20:50.774 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:50.774 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:20:50.774 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:50.774 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:50.776 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:20:50.776 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:50.777 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:20:50.777 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:20:50.777 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:20:50.777 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:50.777 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:20:50.777 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:20:50.777 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=17.674726ms] [2024/05/23 09:20:50.777 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=9ba86330-dc54-479d-b1bd-d261d8b72567] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:20:50.785 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:20:50.785 +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/23 09:20:50.804 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=17.894897ms] [2024/05/23 09:20:50.804 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:50.804 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=670081e0-8c67-42de-9206-3ea56bb58c94] [runWorker=true] [2024/05/23 09:20:50.807 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:20:50.807 +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/23 09:20:50.807 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:50.807 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:50.807 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:50.807 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:50.807 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:50.807 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:50.807 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:50.807 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:50.807 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:50.807 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:20:50.808 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:20:50.810 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:20:50.810 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:50.811 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:20:50.811 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:50.812 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:20:50.812 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:20:50.831 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:20:50.846 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:20:50.860 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:50.860 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:20:50.870 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:20:50.870 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:20:50.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:20:50.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:20:50.872 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:20:50.873 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:20:50.874 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:20:50.874 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:20:50.874 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:20:50.879 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:20:50.879 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:20:50.879 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:20:50.886 +00:00] [INFO] [set.go:170] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:50.887 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=51] [cur_db=test] [sql="create table cycle (pk int key, val int)"] [user=] [2024/05/23 09:20:50.890 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:50.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:50.890 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:50.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table cycle (pk int key, val int)"] [2024/05/23 09:20:50.897 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=105] [conn=3] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:20:50.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.913 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:20:50.947 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=34.612437ms] [2024/05/23 09:20:50.961 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:50.962 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:20:50.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=52] ["take time"=50.194468ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:50.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.975 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=105] [conn=3] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:20:50.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:50.987 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:20:50.987 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:50.996 +00:00] [INFO] [set.go:170] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.011 +00:00] [INFO] [set.go:170] ["set global var"] [conn=6] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.017 +00:00] [INFO] [set.go:170] ["set global var"] [conn=10] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.022 +00:00] [INFO] [set.go:170] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.044 +00:00] [INFO] [set.go:170] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.048 +00:00] [INFO] [set.go:170] ["set global var"] [conn=9] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.052 +00:00] [INFO] [set.go:170] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.139 +00:00] [INFO] [set.go:170] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.147 +00:00] [INFO] [set.go:170] ["set global var"] [conn=15] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.155 +00:00] [INFO] [set.go:170] ["set global var"] [conn=19] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.163 +00:00] [INFO] [set.go:170] ["set global var"] [conn=20] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.169 +00:00] [INFO] [set.go:170] ["set global var"] [conn=21] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.202 +00:00] [INFO] [set.go:170] ["set global var"] [conn=23] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.211 +00:00] [INFO] [set.go:170] ["set global var"] [conn=26] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.239 +00:00] [INFO] [set.go:170] ["set global var"] [conn=27] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.245 +00:00] [INFO] [set.go:170] ["set global var"] [conn=28] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.251 +00:00] [INFO] [set.go:170] ["set global var"] [conn=29] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.282 +00:00] [INFO] [set.go:170] ["set global var"] [conn=32] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.356 +00:00] [INFO] [set.go:170] ["set global var"] [conn=30] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.356 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 30\n# Query_time: 0.306545532\n# Parse_time: 0.00051737\n# Compile_time: 0.000386944\n# Rewrite_time: 0.000029724\n# Optimize_time: 0\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 31f880c98352115a424a286aac04f3e67a5ddf104d74079d1a033ae2146cd53b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nSET @@GLOBAL.`tidb_schema_cache_size`=1024;"] [2024/05/23 09:20:51.417 +00:00] [INFO] [set.go:170] ["set global var"] [conn=33] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:20:51.417 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 33\n# Query_time: 0.365350369\n# Parse_time: 0.054708783\n# Compile_time: 0.000178846\n# Rewrite_time: 0.000075738\n# Optimize_time: 0\n# Wait_TS: 0\n# Is_internal: false\n# Digest: 31f880c98352115a424a286aac04f3e67a5ddf104d74079d1a033ae2146cd53b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nSET @@GLOBAL.`tidb_schema_cache_size`=1024;"] [2024/05/23 09:20:51.845 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:20:51.845 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:20:51.845 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:20:51.845 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:51.903 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/23 09:20:51.908 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/23 09:20:51.908 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/23 09:20:51.913 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/23 09:20:51.914 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/23 09:20:51.914 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/23 09:20:51.914 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/23 09:20:52.831 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/23 09:20:59.571 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=670081e0-8c67-42de-9206-3ea56bb58c94] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:20:59.571 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:59.571 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 28, tp add index"] [category=ddl] ["take time"=7.136µs] [2024/05/23 09:20:59.571 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 29, tp add index"] [category=ddl] ["take time"=5.822µs] [2024/05/23 09:20:59.571 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 30, tp add index"] [category=ddl] ["take time"=4.315µs] [2024/05/23 09:20:59.571 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 27, tp add index"] [category=ddl] ["take time"=3.779µs] [2024/05/23 09:20:59.571 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:59.571 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 26, tp general"] [category=ddl] ["take time"=3.137µs] [2024/05/23 09:20:59.571 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:20:59.571 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:20:59.571 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:20:59.572 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=670081e0-8c67-42de-9206-3ea56bb58c94] ["take time"=587.593µs] [2024/05/23 09:20:59.572 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=670081e0-8c67-42de-9206-3ea56bb58c94] [2024/05/23 09:20:59.572 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:20:59.572 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/23 09:20:59.572 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:20:59.572 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:59.572 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:59.572 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:59.572 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:20:59.572 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:20:59.572 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:59.572 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:59.572 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:59.572 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=670081e0-8c67-42de-9206-3ea56bb58c94] [ownerKey=/tidb/stats/owner] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:59.573 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:20:59.573 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=670081e0-8c67-42de-9206-3ea56bb58c94] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:1549] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=670081e0-8c67-42de-9206-3ea56bb58c94] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:20:59.573 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/23 09:20:59.573 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/23 09:20:59.573 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/23 09:20:59.573 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:1551] ["dist task scheduler manager stopped"] [id=670081e0-8c67-42de-9206-3ea56bb58c94] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:20:59.573 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:20:59.573 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:20:59.574 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.477211ms] [2024/05/23 09:20:59.574 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:20:59.574 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:20:59.574 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:20:59.574 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:20:59.574 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:20:59.575 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestIssue43667Concurrency (10.82s) === RUN TestForeignKey [2024/05/23 09:20:59.579 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:20:59.579 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:59.579 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:59.579 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:59.579 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:59.580 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:59.582 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6ff96a02-cfa5-4409-91ea-1e756c90b26b] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:20:59.588 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:20:59.588 +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/23 09:20:59.588 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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/planner/core_test.TestForeignKey\n\tpkg/planner/core/preprocess_test.go:294\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:20:59.604 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=15.134317ms] [2024/05/23 09:20:59.605 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:59.605 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=839cb126-5353-4a6b-98cf-31562f052093] [runWorker=true] [2024/05/23 09:20:59.606 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:20:59.606 +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/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:20:59.606 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:20:59.606 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:20:59.606 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:20:59.606 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:20:59.606 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:20:59.606 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:20:59.606 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:20:59.607 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:20:59.609 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.609 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:20:59.614 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.634 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=18.479227ms] [2024/05/23 09:20:59.636 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:20:59.638 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.638 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:20:59.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=1] ["take time"=24.324704ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:20:59.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.644 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.646 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:20:59.646 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.647 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:20:59.647 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.652 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.652 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.648 +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/23 09:20:59.658 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.666 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=905.078µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.667 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.667 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:20:59.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=2] ["take time"=4.031792ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.674 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.680 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:20:59.680 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.681 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.684 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.684 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.682 +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/23 09:20:59.689 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.691 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=210.248µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.692 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.692 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:20:59.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=3] ["take time"=2.061379ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.697 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.699 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:20:59.699 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.700 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.702 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.702 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.701 +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/23 09:20:59.707 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.710 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=215.492µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.711 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.711 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:20:59.712 +00:00] [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.829833ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.715 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.718 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:20:59.718 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.719 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.722 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.722 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.72 +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/23 09:20:59.728 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.733 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=733.082µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.734 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.734 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:20:59.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=5] ["take time"=4.714042ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.741 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.746 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:20:59.746 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.746 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.749 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.749 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.748 +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/23 09:20:59.754 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.757 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=388.759µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.758 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.759 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:20:59.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=6] ["take time"=2.55785ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.764 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.767 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:20:59.767 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.768 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.771 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.771 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.769 +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/23 09:20:59.777 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.780 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=298.728µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.781 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.781 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:20:59.787 +00:00] [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"=7.146628ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.793 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.796 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:20:59.796 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.796 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.799 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.799 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.798 +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/23 09:20:59.804 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.807 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=216.98µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.808 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.808 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:20:59.809 +00:00] [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.038163ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.812 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.815 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:20:59.815 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.816 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.818 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.818 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.817 +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/23 09:20:59.825 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.827 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=260.712µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.828 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.828 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:20:59.830 +00:00] [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.948066ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.835 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.847 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:20:59.847 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.848 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.854 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.854 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.852 +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/23 09:20:59.859 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.862 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=327.421µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.863 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.863 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:20: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=10] ["take time"=2.076664ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.868 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.871 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:20:59.871 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.871 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.873 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.873 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.872 +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/23 09:20:59.880 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.883 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=219.708µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.884 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.884 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:20:59.885 +00:00] [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.731629ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.889 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.891 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:20:59.891 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.892 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.892 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:20:59.895 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.895 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.893 +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/23 09:20:59.899 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.902 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=304.085µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.903 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.903 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:20:59.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=12] ["take time"=2.84912ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.908 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.911 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:20:59.911 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.912 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.914 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.914 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.913 +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/23 09:20:59.920 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.923 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=326.337µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.925 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.925 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:20:59.925 +00:00] [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.277828ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.929 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.932 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:20:59.932 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.932 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.935 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.935 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.933 +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/23 09:20:59.940 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.942 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=215.923µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.943 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.943 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:20:59.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=14] ["take time"=2.75703ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.948 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.951 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:20:59.951 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.951 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.954 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.954 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.953 +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/23 09:20:59.959 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.962 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=253.092µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.963 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.963 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:20: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=15] ["take time"=2.044229ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.969 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.972 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:20:59.972 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.972 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.975 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.975 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.973 +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/23 09:20:59.981 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.984 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=256.652µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:20:59.985 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:20:59.985 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:20:59.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=16] ["take time"=2.632999ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.990 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:20:59.993 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:20:59.993 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:20:59.994 +00:00] [INFO] [session.go:3959] ["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/23 09:20:59.996 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:20:59.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:20:59.996 +00:00] [INFO] [ddl.go:1210] ["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-23 09:20:59.995 +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/23 09:21:00.002 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:20:59.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.006 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=340.297µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.007 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.007 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:21:00.007 +00:00] [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.017769ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:20:59.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.014 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:20:59.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.021 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:21:00.021 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.021 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.024 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.024 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.022 +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/23 09:21:00.029 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.031 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=286.742µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.032 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.032 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:21:00.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=18] ["take time"=2.965497ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.038 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.040 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:21:00.040 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.041 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.043 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.044 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.042 +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/23 09:21:00.048 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.052 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=459.927µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.053 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.053 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:21:00.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=19] ["take time"=2.285862ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.058 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.061 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:21:00.061 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.062 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.064 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.064 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.064 +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/23 09:21:00.069 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.072 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=324.806µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.073 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.073 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:21:00.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=20] ["take time"=3.382859ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.081 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.084 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:21:00.084 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.084 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.086 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.086 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.085 +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/23 09:21:00.093 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.096 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=216.078µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.097 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.097 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:21:00.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=21] ["take time"=9.709762ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.110 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.113 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:21:00.113 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.113 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.115 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.115 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.114 +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/23 09:21:00.118 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.120 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=133.393µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.121 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.121 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:21:00.122 +00:00] [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.050685ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.128 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.131 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:21:00.131 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.132 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.135 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.135 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.133 +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/23 09:21:00.141 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.145 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=379.686µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.146 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.146 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:21:00.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=23] ["take time"=2.361244ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.152 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.155 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:21:00.155 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.156 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.158 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.158 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.157 +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/23 09:21:00.163 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.166 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=284.827µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.167 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.167 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:21:00.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=24] ["take time"=2.083947ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.172 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.174 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:21:00.174 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.175 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.177 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.178 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.176 +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/23 09:21:00.183 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.186 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=282.684µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.187 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.187 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:21:00.188 +00:00] [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.014904ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.192 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.194 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:21:00.194 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.195 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.197 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.197 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.196 +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/23 09:21:00.203 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.206 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=251.501µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.207 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.207 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:21:00.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=26] ["take time"=2.620071ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.214 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.217 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:21:00.217 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.217 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.219 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.219 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.218 +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/23 09:21:00.226 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.228 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=201.816µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.229 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.229 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:21:00.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=27] ["take time"=2.805953ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.236 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.238 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:21:00.238 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.239 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.241 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.241 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.24 +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/23 09:21:00.247 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.250 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=227.784µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.251 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.251 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:21:00.253 +00:00] [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.66844ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.256 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.259 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:21:00.259 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.259 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.259 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:21:00.262 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.262 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.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/23 09:21:00.269 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.272 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=286.997µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.273 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.273 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:21:00.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=29] ["take time"=2.752605ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.278 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.280 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:21:00.280 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.281 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.283 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.283 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.282 +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/23 09:21:00.289 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.291 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=237.038µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.292 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.292 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:21:00.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=30] ["take time"=2.219292ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.297 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.300 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:21:00.300 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.300 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.303 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.303 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.301 +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/23 09:21:00.309 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.311 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=220.744µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.312 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.312 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:21:00.313 +00:00] [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.299251ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.316 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.319 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:21:00.319 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.320 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.322 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.322 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.321 +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/23 09:21:00.329 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.333 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=488.32µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.334 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.334 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:21:00.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=32] ["take time"=2.079744ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.339 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.342 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:21:00.342 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.342 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.344 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.344 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.343 +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/23 09:21:00.350 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.352 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=152.968µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.353 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.353 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:21:00.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=33] ["take time"=2.75565ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.359 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.361 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:21:00.361 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.365 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.365 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:21:00.371 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.373 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=202.079µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:21:00.374 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.374 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:21:00.375 +00:00] [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.02453ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:21:00.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.379 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.382 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:21:00.382 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.382 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.385 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.385 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.384 +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/23 09:21:00.391 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.394 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=320.195µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.395 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.395 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:21:00.396 +00:00] [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.609554ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.400 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.404 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:21:00.404 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.404 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.407 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.407 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.406 +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/23 09:21:00.412 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.415 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=203.127µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.416 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.416 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:21:00.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=36] ["take time"=2.448087ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.421 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.425 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:21:00.425 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.425 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.428 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.428 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.426 +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/23 09:21:00.437 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.441 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=314.046µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.442 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.442 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:21: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=37] ["take time"=2.363052ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.447 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.450 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:21:00.450 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.450 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.453 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.453 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.452 +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/23 09:21:00.460 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.465 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=531.046µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.466 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.466 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:21:00.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=38] ["take time"=2.072648ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.470 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.474 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:21:00.474 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.475 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.478 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.478 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.476 +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/23 09:21:00.484 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.488 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=343.578µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.489 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.489 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:21:00.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=39] ["take time"=2.312859ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.495 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.499 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:21:00.499 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.500 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.503 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.503 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.501 +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/23 09:21:00.509 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.514 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=563.337µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.515 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.515 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:21:00.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=40] ["take time"=2.029129ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.520 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.524 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:21:00.524 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.524 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.527 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.527 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.525 +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/23 09:21:00.532 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.536 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=496.168µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.538 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.538 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:21:00.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=41] ["take time"=2.892595ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.543 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.547 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:21:00.547 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.548 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.551 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.551 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.549 +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/23 09:21:00.556 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.560 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=535.406µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.561 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.561 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:21:00.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=42] ["take time"=3.073427ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.566 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.570 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:21:00.570 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.570 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.572 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.572 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.571 +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/23 09:21:00.578 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.582 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=359.694µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.583 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.583 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:21:00.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=43] ["take time"=2.285798ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.588 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.593 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:21:00.593 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.593 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.596 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.595 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.596 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.595 +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/23 09:21:00.601 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.595 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.604 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=355.11µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.606 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.606 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:21:00.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=44] ["take time"=2.675924ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.595 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.608 +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_done' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch_done' 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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchDoneRecord\n\tpkg/domain/runaway.go:582\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchDoneRecord\n\tpkg/domain/runaway.go:539\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchDoneRecords\n\tpkg/domain/runaway.go:513\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:184\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/23 09:21:00.616 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.595 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.620 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:21:00.620 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.620 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.624 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.624 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.622 +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/23 09:21:00.631 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.634 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=246.943µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.635 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.635 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:21:00.637 +00:00] [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.419641ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.641 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.644 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:21:00.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.645 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.648 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.648 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.646 +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/23 09:21:00.652 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.657 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=655.103µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.658 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.658 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:21:00.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=46] ["take time"=2.139423ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.664 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.668 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:21:00.668 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.668 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.671 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.671 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.67 +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/23 09:21:00.676 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.679 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=341.68µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.680 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.680 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:21:00.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=47] ["take time"=2.412072ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.686 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.689 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:21:00.689 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.690 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.692 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.692 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.691 +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/23 09:21:00.699 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.702 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=267.075µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.703 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.703 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:21:00.704 +00:00] [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.922638ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.709 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.712 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:21:00.712 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.712 +00:00] [INFO] [session.go:3959] ["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/23 09:21:00.715 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.715 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.713 +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/23 09:21:00.721 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.725 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=303.438µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.726 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.726 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:21:00.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=49] ["take time"=2.135084ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.731 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.734 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:21:00.734 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.735 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:21:00.737 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.737 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:21:00.742 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.744 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=45.316µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:21:00.745 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.745 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:21:00.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=50] ["take time"=2.866477ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:21:00.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.752 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.754 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:21:00.754 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.757 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.757 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.756 +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/23 09:21:00.764 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:21:00.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.766 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=233.651µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:21:00.767 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:21:00.767 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:21:00.768 +00:00] [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.119263ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:21:00.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.774 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:21:00.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.776 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:21:00.776 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.804 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.198113161s] [2024/05/23 09:21:00.804 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=839cb126-5353-4a6b-98cf-31562f052093] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:21:00.804 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:21:00.805 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 32, tp add index"] [category=ddl] ["take time"=5.347µs] [2024/05/23 09:21:00.805 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 33, tp add index"] [category=ddl] ["take time"=5.033µs] [2024/05/23 09:21:00.805 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 34, tp add index"] [category=ddl] ["take time"=3.022µs] [2024/05/23 09:21:00.805 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 35, tp add index"] [category=ddl] ["take time"=2.313µs] [2024/05/23 09:21:00.805 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:21:00.805 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 31, tp general"] [category=ddl] ["take time"=892ns] [2024/05/23 09:21:00.805 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:21:00.805 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:21:00.805 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:21:00.809 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=839cb126-5353-4a6b-98cf-31562f052093] ["take time"=4.647488ms] [2024/05/23 09:21:00.809 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=839cb126-5353-4a6b-98cf-31562f052093] [2024/05/23 09:21:00.809 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:21:00.809 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:21:00.809 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:21:00.809 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:21:00.809 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:21:00.809 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:21:00.809 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:21:00.809 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:21:00.809 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:21:00.809 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:21:00.809 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:21:00.809 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:21:00.809 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:21:00.809 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:21:00.809 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.892906ms] [2024/05/23 09:21:00.809 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6ff96a02-cfa5-4409-91ea-1e756c90b26b] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:21:00.817 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:21:00.817 +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/23 09:21:00.846 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=28.862346ms] [2024/05/23 09:21:00.855 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:21:00.855 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=4764e791-6f5d-429f-9b4a-23dd4bd59122] [runWorker=true] [2024/05/23 09:21:00.856 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:21:00.856 +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/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:21:00.856 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:21:00.856 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:21:00.856 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:21:00.856 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:21:00.856 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:21:00.856 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:21:00.856 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:21:00.862 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:21:00.862 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:21:00.874 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:21:00.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:21:00.878 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:21:00.878 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:21:00.878 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:21:00.878 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:21:00.878 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:21:00.879 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:21:00.879 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:21:00.880 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:21:00.880 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:21:00.880 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:21:00.880 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:21:00.881 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:21:00.881 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=51] [cur_db=] [sql="create table test.t1(a int, b int, c int)"] [user=] [2024/05/23 09:21:00.883 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.883 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test.t1(a int, b int, c int)"] [2024/05/23 09:21:00.888 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=34] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:21:00.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.890 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:21:00.901 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=10.662653ms] [2024/05/23 09:21:00.901 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:21:00.903 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:21:00.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=52] ["take time"=14.374943ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.908 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=34] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:21:00.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.910 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:21:00.911 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.911 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=52] [cur_db=] [sql="create table test.t2(d int)"] [user=] [2024/05/23 09:21:00.913 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:21:00.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.913 +00:00] [INFO] [ddl.go:1210] ["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-23 09:21:00.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test.t2(d int)"] [2024/05/23 09:21:00.919 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=107] [conn=34] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:21:00.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.921 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=158.412µs] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.922 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/23 09:21:00.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=53] ["take time"=3.686865ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.929 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=107] [conn=34] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:21:00.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.931 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:21:00.931 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.931 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=53] [cur_db=] [sql="create database test2"] [user=] [2024/05/23 09:21:00.933 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create schema, State:queueing, SchemaState:none, SchemaID:108, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:21:00.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.934 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:create schema, State:queueing, SchemaState:none, SchemaID:108, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:21:00.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test2"] [2024/05/23 09:21:00.939 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=34] [category=ddl] [job="ID:109, Type:create schema, State:queueing, SchemaState:none, SchemaID:108, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:21:00.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.941 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=53.995µs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:21:00.942 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2024/05/23 09:21:00.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=54] ["take time"=10.393718ms] [job="ID:109, Type:create schema, State:done, SchemaState:public, SchemaID:108, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:21:00.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.955 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=34] [job="ID:109, Type:create schema, State:synced, SchemaState:public, SchemaID:108, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:21:00.933 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.956 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:21:00.956 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.957 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=54] [cur_db=] [sql="create table test2.t(e int)"] [user=] [2024/05/23 09:21:00.959 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:108, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:21:00.959 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:108, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test2.t(e int)"] [2024/05/23 09:21:00.962 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=111] [conn=34] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:108, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:21:00.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.965 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=140.332µs] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:21:00.966 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2024/05/23 09:21:00.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=55] ["take time"=2.485383ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:108, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:21:00.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.971 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=111] [conn=34] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:108, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:21:00.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:21:00.974 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/23 09:21:00.974 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:21:00.977 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4764e791-6f5d-429f-9b4a-23dd4bd59122] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 39, tp add index"] [category=ddl] ["take time"=1.344µs] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 40, tp add index"] [category=ddl] ["take time"=1.082µs] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 37, tp add index"] [category=ddl] ["take time"=803ns] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 38, tp add index"] [category=ddl] ["take time"=1.116µs] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 36, tp general"] [category=ddl] ["take time"=656ns] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:21:00.977 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:21:00.977 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=4764e791-6f5d-429f-9b4a-23dd4bd59122] ["take time"=3.134065ms] [2024/05/23 09:21:00.977 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=4764e791-6f5d-429f-9b4a-23dd4bd59122] [2024/05/23 09:21:00.977 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:21:00.977 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:21:00.977 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:21:00.977 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:21:00.977 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:21:00.977 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:21:00.977 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:21:00.977 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:21:00.977 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:21:00.977 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:21:00.977 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4764e791-6f5d-429f-9b4a-23dd4bd59122] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:21:00.978 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:21:00.978 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4764e791-6f5d-429f-9b4a-23dd4bd59122] [ownerKey=/tidb/stats/owner] [2024/05/23 09:21:00.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:21:00.978 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.323863ms] [2024/05/23 09:21:00.979 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:21:00.979 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:21:00.979 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:21:00.979 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:21:00.979 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:21:00.979 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestForeignKey (1.40s) FAIL coverage: 10.4% 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/11327/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/planner/core/core_test_/core_test.runfiles/__main__/pkg/planner/core/core_test_/core_test ================================================================================ [12,264 / 13,128] 261 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 98s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,265 / 13,128] 261 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 99s remote-cache, linux-sandbox ... (70 actions running) [12,266 / 13,128] 261 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 100s remote-cache, linux-sandbox ... (70 actions running) [12,268 / 13,132] 261 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 101s remote-cache, linux-sandbox ... (69 actions, 68 running) FLAKY: //pkg/ddl/ingest:ingest_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_5_of_17/test_attempts/attempt_1.log /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_5_of_17/test_attempts/attempt_2.log INFO: From Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17): ==================== Test output for //pkg/ddl/ingest:ingest_test (shard 5 of 17): === RUN TestAddIndexIngestGeneratedColumns [2024/05/23 09:14:39.471 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:14:39.477 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:14:39.477 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:14:39.490 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:14:39.490 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:14:39.509 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:14:39.534 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6ce9c79a-2fb5-4134-ab65-38c9f0b6b9fd] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:14:40.228 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:14:40.229 +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/23 09:14:40.231 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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/ingest_test.TestAddIndexIngestGeneratedColumns\n\tpkg/ddl/ingest/integration_test.go:39\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:14:40.276 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=44.077271ms] [2024/05/23 09:14:40.282 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:14:40.282 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=b95f18a2-2efd-4139-968e-eeb293816ae1] [runWorker=true] [2024/05/23 09:14:40.283 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:14:40.283 +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/23 09:14:40.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:14:40.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:14:40.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:14:40.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:14:40.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:14:40.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:14:40.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:14:40.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:14:40.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:14:40.284 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:14:40.285 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:14:40.285 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:14:40.286 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:14:40.286 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:14:40.296 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:14:40.341 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:14:40.349 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:14:40.376 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:40.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:40.376 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:40.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:14:40.466 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:40.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:40.593 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=73.566882ms] [2024/05/23 09:14:40.600 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:14:40.632 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:40.632 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:14:40.638 +00:00] [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"=119.475017ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:14:40.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:40.767 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:40.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:40.809 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:14:40.809 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:40.817 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.520976146\n# Parse_time: 0\n# Compile_time: 0.000855828\n# Rewrite_time: 0.000029029\n# Optimize_time: 0\n# Wait_TS: 0.000147652\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse mysql;\n;"] [2024/05/23 09:14:40.818 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:14:40.902 +00:00] [INFO] [session.go:3959] ["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/23 09:14:41.290 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:14:41.423 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:40.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:41.434 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:40.946 +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/23 09:14:41.551 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:40.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:42.149 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=10.487683ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:42.196 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:42.196 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:14:42.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=2] ["take time"=60.106207ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:40.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:42.287 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/23 09:14:42.318 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:40.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:42.638 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:14:42.638 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:42.640 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.799622248\n# Parse_time: 0\n# Compile_time: 0.06181792\n# Rewrite_time: 0.00001413\n# Optimize_time: 0\n# Wait_TS: 0.000158933\n# DB: mysql\n# Is_internal: true\n# Digest: 1dcdddcae0fb6a3fa29440fed26e29fecfb2c265d457dd4657cef0ce99abd274\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:42.647 +00:00] [INFO] [session.go:3959] ["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/23 09:14:42.723 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:42.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:42.723 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:42.661 +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/23 09:14:42.772 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:42.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:42.903 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.397015ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:42.917 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:42.917 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:14:42.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=3] ["take time"=18.06664ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:42.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:42.979 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:42.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:43.099 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:14:43.099 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:43.101 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.456569628\n# Parse_time: 0\n# Compile_time: 0.00295671\n# Rewrite_time: 0.000012772\n# Optimize_time: 0\n# Wait_TS: 0.000124519\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:43.105 +00:00] [INFO] [session.go:3959] ["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/23 09:14:43.199 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:43.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:43.199 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:43.14 +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/23 09:14:43.264 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:43.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:43.441 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.125911ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:43.458 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:43.459 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:14:43.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=4] ["take time"=22.562563ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:43.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:43.540 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:43.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:43.660 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:14:43.661 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:43.683 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.579320082\n# Parse_time: 0\n# Compile_time: 0.002069661\n# Rewrite_time: 0.000011356\n# Optimize_time: 0\n# Wait_TS: 0.000134866\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Warnings: [{\"Level\":\"Warning\",\"Message\":\"BLOB/TEXT/JSON column 'Priv' can't have a default value\"}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:43.753 +00:00] [INFO] [session.go:3959] ["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/23 09:14:44.178 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:43.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:44.178 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:43.776 +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/23 09:14:44.288 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:43.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:44.924 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=15.079294ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:44.949 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:44.949 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:14:44.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=5] ["take time"=40.965894ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:43.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:45.068 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:43.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:45.286 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:14:45.286 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:45.289 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.5860078739999999\n# Parse_time: 0\n# Compile_time: 0.049821036\n# Rewrite_time: 0.000019382\n# Optimize_time: 0\n# Wait_TS: 0.000133946\n# DB: mysql\n# Is_internal: true\n# Digest: e02ee30435ff06e52f357a0a68828973f373118f7009cbdfbeb747a4e7d91418\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:45.324 +00:00] [INFO] [session.go:3959] ["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/23 09:14:45.425 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:45.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:45.426 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:45.347 +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/23 09:14:45.501 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:45.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:45.823 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.427319ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:45.857 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:45.857 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:14:45.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=6] ["take time"=48.152714ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:45.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:46.046 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:45.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:46.239 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:14:46.240 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:46.241 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.921185529\n# Parse_time: 0\n# Compile_time: 0.004422305\n# Rewrite_time: 0.00001423\n# Optimize_time: 0\n# Wait_TS: 0.000147334\n# DB: mysql\n# Is_internal: true\n# Digest: 5759132672d59a4de3b27e6fbbd8f039e7489d9187962651ede26b9390589e5c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:46.261 +00:00] [INFO] [session.go:3959] ["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/23 09:14:46.467 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:46.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:46.468 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:46.279 +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/23 09:14:46.753 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:46.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:46.951 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=3.028534ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:46.971 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:46.971 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:14: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=7] ["take time"=24.11711ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:46.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:47.184 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:46.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:47.376 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:14:47.377 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:47.384 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.13780467\n# Parse_time: 0\n# Compile_time: 0.014809706\n# Rewrite_time: 0.000012044\n# Optimize_time: 0\n# Wait_TS: 0.000139518\n# DB: mysql\n# Is_internal: true\n# Digest: 36f214f75d4d00ba6ac1ac7b8c95c01ec9574a40c07a536b2afe7a72144551b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:47.388 +00:00] [INFO] [session.go:3959] ["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/23 09:14:47.455 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:47.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:47.456 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:47.409 +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/23 09:14:47.563 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:47.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:47.673 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.908788ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:47.688 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:47.688 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:14:47.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=8] ["take time"=21.51225ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:47.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:47.863 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:47.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:47.927 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:14:47.928 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:47.930 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.542875601\n# Parse_time: 0\n# Compile_time: 0.001776142\n# Rewrite_time: 0.000012281\n# Optimize_time: 0\n# Wait_TS: 0.00015358\n# DB: mysql\n# Is_internal: true\n# Digest: 1b59564c29970a0a8880792322e02b7df09888f7d0a2dfc190f3ed0ff12369d4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:47.935 +00:00] [INFO] [session.go:3959] ["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/23 09:14:48.024 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:47.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:48.024 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:47.959 +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/23 09:14:48.117 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:47.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:48.231 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.058468ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:48.245 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:48.245 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:14:48.246 +00:00] [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"=18.044131ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:47.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:48.358 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:47.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:48.453 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:14:48.454 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:48.456 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.523046358\n# Parse_time: 0\n# Compile_time: 0.002488255\n# Rewrite_time: 0.000012475\n# Optimize_time: 0\n# Wait_TS: 0.000159345\n# DB: mysql\n# Is_internal: true\n# Digest: ade124588c0253b12ce82702300a98a0ff778787142ce450039efbd6347664dc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:48.466 +00:00] [INFO] [session.go:3959] ["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/23 09:14:48.576 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:48.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:48.576 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:48.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/23 09:14:48.675 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:48.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:48.941 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=11.787523ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:48.960 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:48.960 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:14:48.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=10] ["take time"=34.084557ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:48.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:49.115 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:48.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:49.317 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:14:49.317 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:49.319 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.857131782\n# Parse_time: 0\n# Compile_time: 0.003700434\n# Rewrite_time: 0.000013151\n# Optimize_time: 0\n# Wait_TS: 0.000158273\n# DB: mysql\n# Is_internal: true\n# Digest: be740d9d66f07e7842e3b48027d6fb3ef54623295384e63dcbf3e1c8a9f15c10\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:49.327 +00:00] [INFO] [session.go:3959] ["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/23 09:14:49.439 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:49.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:49.439 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:49.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/23 09:14:49.583 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:49.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:49.742 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.664082ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:49.760 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:49.760 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:14:49.763 +00:00] [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"=28.296357ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:49.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:49.857 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:49.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:49.984 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:14:49.985 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:49.987 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.662705842\n# Parse_time: 0\n# Compile_time: 0.003118486\n# Rewrite_time: 0.000021464\n# Optimize_time: 0\n# Wait_TS: 0.000154363\n# DB: mysql\n# Is_internal: true\n# Digest: 2db2929397c955d277d1b5400209b98787aa0797f979b9c213e3924c27b82ea9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:50.027 +00:00] [INFO] [session.go:3959] ["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/23 09:14:50.029 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:14:50.269 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:50.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:50.269 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:50.046 +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/23 09:14:50.370 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:50.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:50.635 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=2.989095ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:50.678 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:50.678 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:14:50.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=12] ["take time"=47.391725ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:50.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:50.803 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:50.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:50.981 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:14:50.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:50.984 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.966105077\n# Parse_time: 0\n# Compile_time: 0.009501409\n# Rewrite_time: 0.000013712\n# Optimize_time: 0\n# Wait_TS: 0.000169443\n# DB: mysql\n# Is_internal: true\n# Digest: e038e634a5f1b7e5429d1252be7edf0ffb0922e8636032b9c68fd59f0484f6ef\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:50.993 +00:00] [INFO] [session.go:3959] ["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/23 09:14:51.157 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:51.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:51.158 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:51.033 +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/23 09:14:51.355 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:51.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:51.767 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.15424ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:51.782 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:51.782 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:14:51.782 +00:00] [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"=18.890282ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:51.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:51.907 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:51.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:52.039 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:14:52.039 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:52.041 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.051837899\n# Parse_time: 0\n# Compile_time: 0.003713393\n# Rewrite_time: 0.000017459\n# Optimize_time: 0\n# Wait_TS: 0.000145825\n# DB: mysql\n# Is_internal: true\n# Digest: 84a28596914df45e10de865c11a515d8595f2c38a422f5c8d8fb86a470ba5cad\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:52.050 +00:00] [INFO] [session.go:3959] ["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/23 09:14:52.158 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:52.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:52.158 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:52.068 +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/23 09:14:52.264 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:52.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:52.525 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.267927ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:52.542 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:52.542 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:14:52.542 +00:00] [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"=20.268982ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:52.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:52.648 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:52.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:52.767 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:14:52.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:52.774 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.727885705\n# Parse_time: 0\n# Compile_time: 0.004209244\n# Rewrite_time: 0.000023307\n# Optimize_time: 0\n# Wait_TS: 0.000156818\n# DB: mysql\n# Is_internal: true\n# Digest: 4407fc98c36858aed19a41d8ab6383e7885e71a2edd2716950a8847ee0c4ccd2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:52.809 +00:00] [INFO] [session.go:3959] ["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/23 09:14:52.903 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:52.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:52.903 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:52.823 +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/23 09:14:53.071 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:52.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:53.250 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.572692ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:53.265 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:53.265 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:14:53.267 +00:00] [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"=20.65414ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:52.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:53.376 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:52.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:53.499 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:14:53.500 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:53.502 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.723374315\n# Parse_time: 0\n# Compile_time: 0.030568085\n# Rewrite_time: 0.000012612\n# Optimize_time: 0\n# Wait_TS: 0.000131999\n# DB: mysql\n# Is_internal: true\n# Digest: 6f80e6944eacefde08a31e8364b171d37e77c4bebc7757ae375b47812ca371cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:53.508 +00:00] [INFO] [session.go:3959] ["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/23 09:14:53.639 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:53.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:53.639 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:53.522 +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/23 09:14:53.720 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:53.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:53.823 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.927702ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:53.847 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:53.847 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:14:53.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=16] ["take time"=28.895363ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:53.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:53.999 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:53.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:54.149 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:14:54.149 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:54.151 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.645315643\n# Parse_time: 0\n# Compile_time: 0.002481266\n# Rewrite_time: 0.000013889\n# Optimize_time: 0\n# Wait_TS: 0.000147135\n# DB: mysql\n# Is_internal: true\n# Digest: ae00140f19e8173091b9a44ece06f4d51ecf640b3c9c924a7be8a7394182215f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:54.181 +00:00] [INFO] [session.go:3959] ["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/23 09:14:54.303 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:54.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:54.303 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:54.204 +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/23 09:14:54.502 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:54.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:54.786 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=7.701955ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:54.806 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:54.806 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:14:54.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=17] ["take time"=30.968856ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:54.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:54.929 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:54.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:55.078 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:14:55.078 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:55.101 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.931063859\n# Parse_time: 0\n# Compile_time: 0.010519037\n# Rewrite_time: 0.000014533\n# Optimize_time: 0\n# Wait_TS: 0.000149188\n# DB: mysql\n# Is_internal: true\n# Digest: b0ac22a8699b953eeb48be3f830e94a20801551f37159b586c40d30dc883661d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:55.109 +00:00] [INFO] [session.go:3959] ["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/23 09:14:55.184 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:55.184 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:55.127 +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/23 09:14:55.369 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:55.572 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.502956ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:55.587 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:55.588 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:14:55.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=18] ["take time"=20.03673ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:55.717 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:55.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:55.917 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:14:55.917 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:55.919 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.81297954\n# Parse_time: 0\n# Compile_time: 0.003402748\n# Rewrite_time: 0.000014121\n# Optimize_time: 0\n# Wait_TS: 0.000149698\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:55.933 +00:00] [INFO] [session.go:3959] ["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/23 09:14:56.111 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:55.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:56.112 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:55.95 +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/23 09:14:56.201 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:55.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:56.457 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=4.756098ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:56.479 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:56.480 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:14:56.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=19] ["take time"=33.676993ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:55.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:56.692 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:55.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:56.833 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:14:56.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:56.835 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.906899271\n# Parse_time: 0\n# Compile_time: 0.005410289\n# Rewrite_time: 0.000018302\n# Optimize_time: 0\n# Wait_TS: 0.000202668\n# DB: mysql\n# Is_internal: true\n# Digest: 906c8d2d8937c4ba0f1e3f03de3e50407e0940fb66383a443b19d383373b2bb9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:56.857 +00:00] [INFO] [session.go:3959] ["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/23 09:14:56.967 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:56.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:56.967 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:56.877 +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/23 09:14:57.120 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:56.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:57.219 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.672818ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:57.233 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:57.234 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:14:57.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=20] ["take time"=18.190323ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:56.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:57.369 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:56.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:57.436 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:14:57.436 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:57.438 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.583414905\n# Parse_time: 0\n# Compile_time: 0.002838084\n# Rewrite_time: 0.000014433\n# Optimize_time: 0\n# Wait_TS: 0.000145737\n# DB: mysql\n# Is_internal: true\n# Digest: df1a9dde39341a07eb2fb8ef599e6652770203b79af3e1800917053820a3b51c\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:57.450 +00:00] [INFO] [session.go:3959] ["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/23 09:14:57.502 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:57.467 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:57.502 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:57.467 +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/23 09:14:57.616 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:57.467 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:57.696 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.881064ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:57.719 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:57.719 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:14:57.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=21] ["take time"=28.336032ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:57.467 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:57.942 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:57.467 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:58.013 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:14:58.013 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:58.015 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.567328691\n# Parse_time: 0\n# Compile_time: 0.002117224\n# Rewrite_time: 0.000013736\n# Optimize_time: 0\n# Wait_TS: 0.000162924\n# DB: mysql\n# Is_internal: true\n# Digest: 988ff7e96344f475621bfec9765ba7b507e76d86daa1e3fdf0f9eadbd538afd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:58.027 +00:00] [INFO] [session.go:3959] ["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/23 09:14:58.101 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:58.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:58.101 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:58.06 +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/23 09:14:58.197 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:58.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:58.254 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.600927ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:58.268 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:58.268 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:14:58.270 +00:00] [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"=18.092616ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:58.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:58.331 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:58.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:58.377 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:14:58.377 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:58.379 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.361375485\n# Parse_time: 0\n# Compile_time: 0.009617756\n# Rewrite_time: 0.000013087\n# Optimize_time: 0\n# Wait_TS: 0.000147476\n# DB: mysql\n# Is_internal: true\n# Digest: 58329d63c08bcbc761a6b408e882dc874ae0220c9a2aaaeab91d992543fef52b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:58.388 +00:00] [INFO] [session.go:3959] ["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/23 09:14:58.476 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:58.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:58.477 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:58.406 +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/23 09:14:58.530 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:58.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:58.731 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=2.571271ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:58.752 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:58.752 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:14:58.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=23] ["take time"=36.005544ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:58.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:58.913 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:58.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:59.085 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:14:59.086 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:59.087 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.7032647\n# Parse_time: 0\n# Compile_time: 0.003567856\n# Rewrite_time: 0.000012711\n# Optimize_time: 0\n# Wait_TS: 0.000177635\n# DB: mysql\n# Is_internal: true\n# Digest: 9c4f6672f019f6d6c588a6b2eb00b13f041ee54cb97f253f85d7ae52df9d23c6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:59.093 +00:00] [INFO] [session.go:3959] ["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/23 09:14:59.183 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:59.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:59.183 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:59.108 +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/23 09:14:59.389 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:59.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:59.503 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.49527ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:14:59.519 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:14:59.519 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:14:59.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=24] ["take time"=30.204363ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:59.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:59.660 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:59.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:14:59.796 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:14:59.796 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:14:59.798 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.707206258\n# Parse_time: 0\n# Compile_time: 0.002393194\n# Rewrite_time: 0.000012292\n# Optimize_time: 0\n# Wait_TS: 0.000182589\n# DB: mysql\n# Is_internal: true\n# Digest: 9e692f90f6e351e4eecf3fbff7177acf0a166d0cd79badb0ce0ced2bb754eb99\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:14:59.805 +00:00] [INFO] [session.go:3959] ["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/23 09:14:59.878 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:14:59.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:14:59.879 +00:00] [INFO] [ddl.go:1210] ["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-23 09:14:59.829 +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/23 09:14:59.980 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:14:59.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:00.126 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.415267ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:00.141 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:00.142 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:15:00.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=25] ["take time"=21.97259ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:14:59.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:00.262 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:14:59.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:00.365 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:15:00.365 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:00.367 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.56515458\n# Parse_time: 0\n# Compile_time: 0.002832599\n# Rewrite_time: 0.000013588\n# Optimize_time: 0\n# Wait_TS: 0.000133524\n# DB: mysql\n# Is_internal: true\n# Digest: fb2ab8d9eb87bcf45e5bc65e3dbe38a6d629c319d70fb6f44a741534bb3455a6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:00.375 +00:00] [INFO] [session.go:3959] ["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/23 09:15:00.496 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:00.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:00.496 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:00.423 +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/23 09:15:00.601 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:00.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:00.821 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=16.564913ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:00.840 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:00.840 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:15:00.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=26] ["take time"=44.223781ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:00.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:00.992 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:00.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:01.100 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:15:01.100 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:01.102 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.729697553\n# Parse_time: 0\n# Compile_time: 0.002664087\n# Rewrite_time: 0.000013294\n# Optimize_time: 0\n# Wait_TS: 0.000168592\n# DB: mysql\n# Is_internal: true\n# Digest: 1fac41a3d4a89e3e4da2393e1f69d1aacfec8886db749d6329e9bf677df777b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:01.116 +00:00] [INFO] [session.go:3959] ["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/23 09:15:01.220 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:01.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:01.220 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:01.133 +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/23 09:15:01.375 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:01.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:01.584 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=2.254843ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:01.614 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:01.614 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:15:01.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=27] ["take time"=60.720352ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:01.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:01.803 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:01.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:01.902 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:15:01.902 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:01.904 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.799370613\n# Parse_time: 0\n# Compile_time: 0.011578772\n# Rewrite_time: 0.000014273\n# Optimize_time: 0\n# Wait_TS: 0.000142066\n# DB: mysql\n# Is_internal: true\n# Digest: 06962f34c69b85ab590c2556bdffd68d7705d56a70a3b0522b0ba5bc55363fd3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:01.911 +00:00] [INFO] [session.go:3959] ["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/23 09:15:02.056 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:01.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:02.056 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:01.952 +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/23 09:15:02.146 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:01.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:02.392 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=3.274575ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:02.409 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:02.409 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:15:02.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=28] ["take time"=86.973909ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:01.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:02.519 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:01.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:02.630 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:15:02.630 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:02.632 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.72434035\n# Parse_time: 0\n# Compile_time: 0.003138847\n# Rewrite_time: 0.000013353\n# Optimize_time: 0\n# Wait_TS: 0.000149122\n# DB: mysql\n# Is_internal: true\n# Digest: a30fd7e284f356f111cb15459926cdbebb3d6f24c950b6f3b9729d8b5f13ee4f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:02.647 +00:00] [INFO] [session.go:3959] ["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/23 09:15:02.650 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:15:02.716 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:02.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:02.716 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:02.663 +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/23 09:15:02.833 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:02.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:02.968 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.756041ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:02.982 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:02.982 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:15:02.985 +00:00] [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"=21.172562ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:02.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:03.158 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:02.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:03.225 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:15:03.225 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:03.227 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.589800687\n# Parse_time: 0\n# Compile_time: 0.010067727\n# Rewrite_time: 0.000012522\n# Optimize_time: 0\n# Wait_TS: 0.0001616\n# DB: mysql\n# Is_internal: true\n# Digest: c862b6db4c0b104bd6ade1db78bbe1f6a12a30584d750044f3eec57a1a86580e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:03.235 +00:00] [INFO] [session.go:3959] ["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/23 09:15:03.310 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:03.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:03.310 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:03.249 +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/23 09:15:03.375 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:03.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:03.584 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=3.025821ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:03.598 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:03.599 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:15:03.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=30] ["take time"=21.463471ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:03.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:03.717 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:03.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:03.820 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:15:03.821 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:03.831 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.599511865\n# Parse_time: 0\n# Compile_time: 0.003869453\n# Rewrite_time: 0.000012043\n# Optimize_time: 0\n# Wait_TS: 0.000144967\n# DB: mysql\n# Is_internal: true\n# Digest: eceb528bf68c7d9b100b120b5113005ea7f5a4c6c1f4834403330ff156d0a3aa\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:03.842 +00:00] [INFO] [session.go:3959] ["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/23 09:15:03.978 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:03.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:03.979 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:03.88 +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/23 09:15:04.073 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:03.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:04.207 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=3.190244ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:04.231 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:04.231 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:15:04.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=31] ["take time"=28.377891ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:03.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:04.413 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:03.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:04.578 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:15:04.578 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:04.581 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.741089471\n# Parse_time: 0\n# Compile_time: 0.003759449\n# Rewrite_time: 0.000012763\n# Optimize_time: 0\n# Wait_TS: 0.000148461\n# DB: mysql\n# Is_internal: true\n# Digest: 752363602773b9b875eec93769301ada55a059e0b28c5434de98fdbbc6af54cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:04.594 +00:00] [INFO] [session.go:3959] ["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/23 09:15:04.846 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:04.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:04.846 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:04.619 +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/23 09:15:04.960 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:04.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:05.179 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=4.214619ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:05.194 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:05.194 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:15:05.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=32] ["take time"=27.483903ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:04.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:05.322 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:04.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:05.513 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:15:05.513 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:05.515 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.926416811\n# Parse_time: 0\n# Compile_time: 0.006075505\n# Rewrite_time: 0.000019785\n# Optimize_time: 0\n# Wait_TS: 0.000146407\n# DB: mysql\n# Is_internal: true\n# Digest: 1127cc15f332cc4c1c6b97d06d92880902c2f7e015188cc29392a62748dd8ae0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:05.518 +00:00] [INFO] [session.go:3959] ["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/23 09:15:05.586 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:05.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:05.586 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:05.539 +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/23 09:15:05.764 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:05.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:05.887 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=1.626931ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:05.929 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:05.929 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:15:05.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=33] ["take time"=47.849388ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:05.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:06.107 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:05.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:06.197 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:15:06.197 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:06.199 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.682590957\n# Parse_time: 0\n# Compile_time: 0.002131812\n# Rewrite_time: 0.000018857\n# Optimize_time: 0\n# Wait_TS: 0.00014074\n# DB: mysql\n# Is_internal: true\n# Digest: 6eab04864600dfa37145d44689995984eecc83e3dc6ce49c1e75d23567f8bac3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:06.306 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:06.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:06.306 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:06.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:15:06.532 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:06.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:06.896 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=3.440372ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:15:06.939 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:06.939 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:15:06.940 +00:00] [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"=48.241645ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:15:06.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:07.074 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:06.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:07.173 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:15:07.173 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:07.175 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.967071963\n# Parse_time: 0\n# Compile_time: 0.011500468\n# Rewrite_time: 0.005651853\n# Optimize_time: 0\n# Wait_TS: 0.000134401\n# DB: mysql\n# Is_internal: true\n# Digest: 21116016d77c522c611ad3a280af29e3d82340ed19bc91481dd117f25aeda403\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:07.182 +00:00] [INFO] [session.go:3959] ["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/23 09:15:07.282 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:07.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:07.282 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:07.21 +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/23 09:15:07.344 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:07.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:07.519 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.83413ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:07.540 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:07.540 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:15:07.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=35] ["take time"=24.986948ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:07.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:07.725 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:07.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:07.881 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:15:07.881 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:07.883 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.704357488\n# Parse_time: 0\n# Compile_time: 0.003850161\n# Rewrite_time: 0.000019622\n# Optimize_time: 0\n# Wait_TS: 0.000141053\n# DB: mysql\n# Is_internal: true\n# Digest: d88a70e9c5bb5a28f5a1d1f52613093328fd73c5e78668fab2b1a9c260ab506b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:07.889 +00:00] [INFO] [session.go:3959] ["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/23 09:15:07.966 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:07.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:07.967 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:07.918 +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/23 09:15:08.064 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:07.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:08.222 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.131578ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:08.236 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:08.236 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:15:08.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=36] ["take time"=18.058436ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:07.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:08.372 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:07.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:08.471 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:15:08.472 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:08.474 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.58803762\n# Parse_time: 0\n# Compile_time: 0.002735272\n# Rewrite_time: 0.000013229\n# Optimize_time: 0\n# Wait_TS: 0.000156809\n# DB: mysql\n# Is_internal: true\n# Digest: 1ce2bb4fd69df5a5aeb254910aeeab700c1408b8c2de8f7dbe3ebbc11a4b1542\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:08.481 +00:00] [INFO] [session.go:3959] ["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/23 09:15:08.550 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:08.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:08.550 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:08.498 +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/23 09:15:08.768 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:08.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:08.894 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=2.194083ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:08.909 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:08.909 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:15:08.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=37] ["take time"=20.690668ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:08.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:09.117 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:08.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:09.227 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:15:09.227 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:09.229 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.750962433\n# Parse_time: 0\n# Compile_time: 0.00320889\n# Rewrite_time: 0.000013029\n# Optimize_time: 0\n# Wait_TS: 0.00014039\n# DB: mysql\n# Is_internal: true\n# Digest: f2c0bd78cfe8f7e6b4f8b30f83a48ff4c49a1a9de1c1a0c721ec3561ac42865a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:09.244 +00:00] [INFO] [session.go:3959] ["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/23 09:15:09.402 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:09.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:09.402 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:09.264 +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/23 09:15:09.498 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:09.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:09.892 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=4.481723ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:09.908 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:09.908 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:15:09.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=38] ["take time"=22.066316ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:09.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:10.089 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:09.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:10.398 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:15:10.398 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:10.400 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.162770883\n# Parse_time: 0\n# Compile_time: 0.006220215\n# Rewrite_time: 0.000021698\n# Optimize_time: 0\n# Wait_TS: 0.000151265\n# DB: mysql\n# Is_internal: true\n# Digest: 923db1cc9d609e172ea493293255661f5a9679f95604192db50211d133741170\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:10.413 +00:00] [INFO] [session.go:3959] ["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/23 09:15:10.655 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:10.44 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:10.655 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:10.44 +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/23 09:15:10.766 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:10.44 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:11.083 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=4.106534ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:11.131 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:11.131 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:15:11.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=39] ["take time"=81.957293ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:10.44 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:11.294 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:10.44 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:11.665 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:15:11.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:11.667 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.257758542\n# Parse_time: 0\n# Compile_time: 0.004638652\n# Rewrite_time: 0.000015632\n# Optimize_time: 0\n# Wait_TS: 0.000125284\n# DB: mysql\n# Is_internal: true\n# Digest: 99a5c0e89a0b881a0fa10de262495ae25955edb2a7ef8776054ab57aca80e0d7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:11.681 +00:00] [INFO] [session.go:3959] ["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/23 09:15:11.892 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:11.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:11.892 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:11.718 +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/23 09:15:11.942 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:11.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:12.342 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=4.904098ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:12.384 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:12.384 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:15:12.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=40] ["take time"=61.478623ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:11.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:12.551 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:11.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:12.765 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:15:12.779 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:12.781 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.10586727\n# Parse_time: 0\n# Compile_time: 0.005669154\n# Rewrite_time: 0.000022208\n# Optimize_time: 0\n# Wait_TS: 0.015739575\n# DB: mysql\n# Is_internal: true\n# Digest: a59d1fe47cade4697d39b0374d27cfee2fa302a4c752a5ae5073cecda386a0e8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:12.792 +00:00] [INFO] [session.go:3959] ["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/23 09:15:12.990 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:12.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:12.991 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:12.822 +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/23 09:15:13.088 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:12.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:13.475 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=4.929703ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:13.491 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:13.491 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:15:13.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=41] ["take time"=23.74383ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:12.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:13.612 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:12.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:13.783 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:15:13.784 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:13.785 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.998756443\n# Parse_time: 0\n# Compile_time: 0.005032904\n# Rewrite_time: 0.000013045\n# Optimize_time: 0\n# Wait_TS: 0.000136008\n# DB: mysql\n# Is_internal: true\n# Digest: 8b936e70dba13ed841799b00055530a734435802a5e9b11c1092357e8a0974ea\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:13.797 +00:00] [INFO] [session.go:3959] ["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/23 09:15:13.966 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:13.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:13.966 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:13.813 +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/23 09:15:14.097 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:13.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:14.582 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=7.315249ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:14.609 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:14.609 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:15:14.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=42] ["take time"=40.50053ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:13.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:14.750 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:13.813 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:14.962 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:15:14.962 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:14.964 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.171841104\n# Parse_time: 0\n# Compile_time: 0.005514659\n# Rewrite_time: 0.000012462\n# Optimize_time: 0\n# Wait_TS: 0.000141571\n# DB: mysql\n# Is_internal: true\n# Digest: 666f922981f05f40c7604fdcedd884ec9f6dd414d45b0b8215b19cbf33205685\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:14.980 +00:00] [INFO] [session.go:3959] ["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/23 09:15:15.106 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:15.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:15.106 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:15.004 +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/23 09:15:15.225 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:15.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:15.671 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=4.853365ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:15.720 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:15.720 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:15:15.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=43] ["take time"=54.49034ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:15.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:15.829 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:15.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:16.057 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:15:16.058 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:16.060 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.086265218\n# Parse_time: 0\n# Compile_time: 0.006104365\n# Rewrite_time: 0.000013702\n# Optimize_time: 0\n# Wait_TS: 0.000143967\n# DB: mysql\n# Is_internal: true\n# Digest: 1865863db4761960f0296bcf5386c3bb0c98aa299ac12888aa8054dc66681ee3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:16.082 +00:00] [INFO] [session.go:3959] ["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/23 09:15:16.252 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:16.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:16.252 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:16.1 +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/23 09:15:16.387 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:16.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:16.550 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=3.443022ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:16.569 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:16.570 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:15:16.570 +00:00] [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"=24.119106ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:16.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:16.695 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:16.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:16.851 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:15:16.852 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:16.861 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.783539593\n# Parse_time: 0\n# Compile_time: 0.004931491\n# Rewrite_time: 0.000054061\n# Optimize_time: 0\n# Wait_TS: 0.000169826\n# DB: mysql\n# Is_internal: true\n# Digest: a2de40f38c40a12cca2de8ba7dffa75407607354a3f9335d67717fa5648c5128\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:16.869 +00:00] [INFO] [session.go:3959] ["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/23 09:15:16.994 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:16.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:16.994 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:16.898 +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/23 09:15:17.079 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:16.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:17.268 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=3.313194ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:17.284 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:17.284 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:15:17.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=45] ["take time"=20.516684ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:16.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:17.419 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:16.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:17.568 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:15:17.568 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:17.570 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.7048546\n# Parse_time: 0\n# Compile_time: 0.004072338\n# Rewrite_time: 0.000018384\n# Optimize_time: 0\n# Wait_TS: 0.000162237\n# DB: mysql\n# Is_internal: true\n# Digest: 138d4c5637e5b37a1254d33767e808750320baffba8200a31ad2008bb2b5df97\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:17.590 +00:00] [INFO] [session.go:3959] ["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/23 09:15:17.844 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:17.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:17.844 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:17.612 +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/23 09:15:17.943 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:17.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:18.413 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=5.417688ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:18.427 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:18.427 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:15:18.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=46] ["take time"=22.716013ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:17.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:18.619 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:17.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:18.842 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:15:18.842 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:18.844 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.264780037\n# Parse_time: 0\n# Compile_time: 0.010540355\n# Rewrite_time: 0.000013864\n# Optimize_time: 0\n# Wait_TS: 0.000141211\n# DB: mysql\n# Is_internal: true\n# Digest: 9911fdd027ae330cb69c5cc84a8759473df277eda62594b0dc9b5a797f09a21d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:18.854 +00:00] [INFO] [session.go:3959] ["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/23 09:15:18.947 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:18.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:18.947 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:18.877 +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/23 09:15:19.053 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:18.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:19.271 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=3.034452ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:19.287 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:19.287 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:15:19.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=47] ["take time"=25.28621ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:18.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:19.341 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:15:19.341 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:15:19.341 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:15:19.341 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:15:19.432 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:18.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:19.605 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:15:19.605 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:19.607 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.757761968\n# Parse_time: 0\n# Compile_time: 0.004820321\n# Rewrite_time: 0.00001302\n# Optimize_time: 0\n# Wait_TS: 0.000138601\n# DB: mysql\n# Is_internal: true\n# Digest: 18ab068c70cca87bd99eadc5e483c12b4b41273470a58870b5f4e6eaf6322ce4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:19.613 +00:00] [INFO] [session.go:3959] ["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/23 09:15:19.722 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:19.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:19.723 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:19.628 +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/23 09:15:19.847 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:19.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:20.086 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=2.470201ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:20.101 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:20.101 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:15:20.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=48] ["take time"=18.735017ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:19.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:20.190 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:19.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:20.318 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:15:20.319 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:20.321 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.710586402\n# Parse_time: 0\n# Compile_time: 0.002884826\n# Rewrite_time: 0.000013918\n# Optimize_time: 0\n# Wait_TS: 0.000137773\n# DB: mysql\n# Is_internal: true\n# Digest: d7aca5b8f7b6ebbd013778d4a0451e0b59954ffc0090d361b1f71722be496608\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:20.329 +00:00] [INFO] [session.go:3959] ["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/23 09:15:20.439 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:20.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:20.439 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:20.349 +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/23 09:15:20.533 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:20.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:20.713 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=2.469198ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:20.728 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:20.728 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:15:20.730 +00:00] [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"=21.029351ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:20.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:20.808 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:20.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:20.930 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:15:20.930 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:20.932 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.607462149\n# Parse_time: 0\n# Compile_time: 0.003946169\n# Rewrite_time: 0.000013998\n# Optimize_time: 0\n# Wait_TS: 0.000154771\n# DB: mysql\n# Is_internal: true\n# Digest: 5ca9dd4b3efdb0fd8b4c7af3016f911e048fc356c5b2a241e06c5bc30f085ce7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:20.934 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:15:21.006 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:20.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:21.006 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:20.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:15:21.195 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:20.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:21.225 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=587.108µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:15:21.240 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:21.240 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:15:21.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=50] ["take time"=19.065416ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:15:20.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:21.374 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:20.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:21.423 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:15:21.423 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:21.425 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.491147324\n# Parse_time: 0\n# Compile_time: 0.001017635\n# Rewrite_time: 0.000012608\n# Optimize_time: 0\n# Wait_TS: 0.000150262\n# DB: mysql\n# Is_internal: true\n# Digest: 28d51e3d698da98c60f20a53b5051c7b2d219978d014ce863413788ed5d6649b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:21.542 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:21.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:21.542 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:21.493 +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/23 09:15:21.747 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:15:21.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:21.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=1.961551ms] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:15:21.965 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:15:21.965 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:15:21.966 +00:00] [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"=40.110235ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:15:21.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:22.085 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:15:21.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:22.185 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:15:22.185 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:22.187 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.742330955\n# Parse_time: 0\n# Compile_time: 0.02886115\n# Rewrite_time: 0.019497083\n# Optimize_time: 0\n# Wait_TS: 0.000153578\n# DB: mysql\n# Is_internal: true\n# Digest: 04175714d714f771531a56c7ae3f097cec113655220f87ac336c5ae44d3d3f8f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:15:23.848 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449958568837775360\n# Query_time: 1.063703513\n# Parse_time: 0\n# Compile_time: 0.46540308\n# Rewrite_time: 0.009037761\n# Optimize_time: 0\n# Wait_TS: 0\n# DB: mysql\n# Is_internal: true\n# Digest: eb58d96d7eba9ae407efec64db335db75d58891b8cfae5274e34deeeb21575de\n# Num_cop_tasks: 0\n# Mem_max: 371852\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('pAPwVTAJMjdfMQkwCTAJTi9BCTAJdGltZTo1NzQuNW1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDEzOS45bXMsIGF1dG9faWRfYWxsb2NhdG9yOiB7BQxkX2NudDogMSwgR2V0OntudW1fcnBjOjEsIHQBQgBfBWm4MTk3LjnCtXN9LCBjb21taXRfdHhuOiB7cHJld3JpdGU6NTQ0LjbCtXMsIGdldF8RJBBzOjIwLgkXCRMQOjMuMzYBsRxzbG93ZXN0XxFBBXQAIBG1YDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B2gUHCDEsIBmMGHByaW1hcnlGRAAAM4pEAA1kCG51bQH0Bc4MX2tleSVOCQ6cYnl0ZTozMn19fSwgaW5zZXJ0OjQzNC42bXMJMTE1LjEgS0IJTi9BCg==')\n# Resource_group: default\n;"] [2024/05/23 09:15:24.233 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=43.948927801s] [2024/05/23 09:15:24.331 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=b95f18a2-2efd-4139-968e-eeb293816ae1] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:15:24.331 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:15:24.331 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=33.913µs] [2024/05/23 09:15:24.331 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=22.69µs] [2024/05/23 09:15:24.331 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=11.136µs] [2024/05/23 09:15:24.332 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=27.142µs] [2024/05/23 09:15:24.332 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:15:24.332 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=16.642µs] [2024/05/23 09:15:24.332 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:15:24.332 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:15:24.332 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:15:24.367 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=b95f18a2-2efd-4139-968e-eeb293816ae1] ["take time"=132.179774ms] [2024/05/23 09:15:24.367 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=b95f18a2-2efd-4139-968e-eeb293816ae1] [2024/05/23 09:15:24.368 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:15:24.368 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:15:24.368 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:15:24.368 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:15:24.368 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:15:24.368 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:15:24.368 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:15:24.368 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:15:24.368 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:15:24.368 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:15:24.368 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:15:24.368 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:15:24.369 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:15:24.369 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:15:24.386 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:15:24.387 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=151.581573ms] [2024/05/23 09:15:24.387 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6ce9c79a-2fb5-4134-ab65-38c9f0b6b9fd] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:15:24.683 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:15:24.683 +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/23 09:15:24.829 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=143.340122ms] [2024/05/23 09:15:24.836 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:15:24.836 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=44586df8-07f8-4b24-94d9-6aa804ff092b] [runWorker=true] [2024/05/23 09:15:24.839 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:15:24.839 +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/23 09:15:24.839 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:15:24.839 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:15:24.842 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:15:24.842 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:15:24.842 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:15:24.842 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:15:24.842 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:15:24.842 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:15:24.843 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:15:24.843 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:15:24.845 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:15:24.845 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:15:24.845 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:15:24.846 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:15:24.846 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:15:24.932 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:15:24.933 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:15:25.012 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/23 09:15:25.020 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:15:25.158 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:15:25.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:15:25.235 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:15:25.236 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:15:25.239 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:15:25.239 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:15:25.240 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:15:25.250 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:15:25.252 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:15:25.255 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:15:25.256 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:15:25.302 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:15:25.302 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:15:25.303 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:15:25.422 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:15:25.566 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:15:25.605 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int, c int as (b+10), d int as (b+c), primary key (a) clustered);"] [user=] [2024/05/23 09:15:25.877 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:15:25.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:15:25.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:15:25.878 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:15:26.257 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/23 09:15:26.257 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/23 09:15:26.304 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/23 09:15:26.376 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/23 09:15:26.376 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/23 09:15:26.376 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/23 09:15:26.376 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/23 09:15:26.436 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=51] ["start time"=1.084289147s] [2024/05/23 09:15:26.675 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:15:26.675 +00:00] [WARN] [domain.go:654] ["loading schema takes a long time"] ["take time"=1.328426431s] [2024/05/23 09:15:26.773 +00:00] [INFO] [mvcc.go:1246] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449958569775464448] ["min commit ts"=449958570027122688] [key="dIAA///////+X3KAAAAAAAAAaQ=="] [2024/05/23 09:15:26.773 +00:00] [INFO] [commit.go:160] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449958569774678016] [info="{StartTs:449958569774678016 AttemptedCommitTs:449958569775464448 Key:748000fffffffffffe5f728000000000000069 MinCommitTs:449958570027122688}"] [2024/05/23 09:15:26.779 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449958569774678016\n# Query_time: 1.031167102\n# Parse_time: 0\n# Compile_time: 0.016226543\n# Rewrite_time: 0.000294596\n# Optimize_time: 0.002065728\n# Wait_TS: 0.000142958\n# Prewrite_time: 0.00078128 Commit_time: 0.005988934 Get_commit_ts_time: 0.000023029 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 3299 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 11951\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1ALYMAkyN18xCTAJMAlOL0EJMAl0aW1lOjk4My4ywrVzLCBsb29wczoxLCBwcmVwYXJlOiA0ODkuOAUcLGluc2VydDo0OTMuMwURYGNvbW1pdF90eG46IHtwcmV3cml0ZTo3ODENIAxnZXRfESQIczoyLjUAQDo1Ljk5bXMsIHNsb3dlc3RfET/QX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwRihhwcmltYXJ5RkQAADWKRAANZAhudW0hAAXMEF9rZXlzGQ5YYnl0ZTozMjk5fQkzLjY3IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('3wLwPgraAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6OTgzLjLCtXMsIGxvb3BzOjFiInByZXBhcmU6IDQ4OS44wgEcBGluAT6QOjQ5My4zwrVzYvoBY29tbWl0X3R4bjoge3ByZXdyaXRlOjc4MQUhFCwgZ2V0XxEkCHM6MgE2BCwgCRFAOjUuOTltcywgc2xvd2VzdF8RP5hfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG8BmwBzAQcMMSwgfRFVHF9wcmltYXJ5RkQAADWKRAANZBhudW06MSwgBcwQX2tleXMZDmRieXRlOjMyOTl9cK8deP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:15:26.780 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:15:25.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:26.781 +00:00] [INFO] [ddl.go:1210] ["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-23 09:15:25.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b int, c int as (b+10), d int as (b+c), primary key (a) clustered);"] [2024/05/23 09:15:26.868 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/23 09:15:26.874 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:25.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:27.034 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=4.42203ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:15:27.052 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:15:27.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=52] ["take time"=23.299146ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:25.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:27.170 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:25.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:27.249 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:15:27.256 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:27.266 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.6838159830000001\n# Parse_time: 0.012805267\n# Compile_time: 0.011133276\n# Rewrite_time: 0.000013765\n# Optimize_time: 0.000800509\n# Wait_TS: 0.000149988\n# DB: test\n# Is_internal: false\n# Digest: de18c1b22f1ae17b9dd9d49bb2c1a0f963cebc35c1d2779359413a357cea548a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ncreate table t (a int, b int, c int as (b+10), d int as (b+c), primary key (a) clustered);"] [2024/05/23 09:15:27.296 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="alter table t add index idx(c);"] [user=] [2024/05/23 09:15:27.332 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:15:27.332 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx(c);"] [2024/05/23 09:15:27.517 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:27.519 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:15:27.608 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=5.057265ms] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:27.625 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/23 09:15:27.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=53] ["take time"=22.731951ms] [job="ID:106, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:27.845 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:27.906 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=5.554414ms] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:27.930 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/23 09:15:27.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=54] ["take time"=30.784887ms] [job="ID:106, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:28.151 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:28.204 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=5.902446ms] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:28.243 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/23 09:15:28.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=55] ["take time"=46.299935ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:28.408 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:28.411 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:15:28.423 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:15:28.500 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:15:28.582 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958570468835328, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:28.585 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:15:28.679 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/106] [2024/05/23 09:15:29.176 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.483097095\n# Parse_time: 0\n# Compile_time: 0.00412537\n# Rewrite_time: 0.000722592\n# Optimize_time: 0.001053924\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002667\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NDc3LjFtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww2LjRtGVMQCTE0LjARRHgyCTExXzYJMAkxMDAwMAl0YWJsZTpUQUJMRVMJODE4EZUIMC4yGUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDcwLjJtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkVUgg2LjQZUgwycPBvPlEACEAA4UJRAAAIDU4AORVHCDcuMR1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:15:29.177 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:15:29.780 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=1] [2024/05/23 09:15:29.780 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:15:30.287 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:15:30.287 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:15:30.290 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [2024/05/23 09:15:30.295 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:15:30.495 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=1] [type=backfill] [remaining-slots=12] [2024/05/23 09:15:30.896 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=1] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:15:30.899 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=106] [2024/05/23 09:15:30.908 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:15:31.008 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:15:31.009 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=106] [indexIDs="[1]"] [2024/05/23 09:15:31.017 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=1] [subtask-id=1] [jobID=106] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:15:31.017 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:15:31.017 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:15:31.017 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:15:31.018 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:15:31.018 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:15:31.018 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=1] [subtask-id=1] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:15:31.029 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000103800000000000000b038000000000000001] [idxVal=30] [2024/05/23 09:15:31.029 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000103800000000000000c038000000000000002] [idxVal=30] [2024/05/23 09:15:31.029 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000103800000000000000d038000000000000003] [idxVal=30] [2024/05/23 09:15:31.032 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=1] [subtask-id=1] [id=1] [2024/05/23 09:15:31.033 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:15:31.238 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:15:31.242 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=106] [] [2024/05/23 09:15:31.242 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=1] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=345.835379ms] [] [2024/05/23 09:15:31.352 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:15:31.551 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=1] [type=backfill] [2024/05/23 09:15:31.787 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2024/05/23 09:15:31.838 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:15:31.838 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=1] [2024/05/23 09:15:31.862 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:31.938 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:15:32.320 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.439970327\n# Parse_time: 0\n# Compile_time: 0.004008902\n# Rewrite_time: 0.000779554\n# Optimize_time: 0.001004498\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003175\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NDM0LjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUwwzLjdtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwyNy42GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDI3LjZtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgwzMy43GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwg0LjMdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:15:32.432 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=5.731831ms] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:32.458 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/23 09:15:32.469 +00:00] [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"=48.669409ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958570468835328, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:32.757 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958570468835328, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:32.761 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=106] [table=t] [index=idx] [2024/05/23 09:15:32.869 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=5.735002ms] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:32.889 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=57] [2024/05/23 09:15:32.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=57] ["take time"=36.403922ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:33.050 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:33.055 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000001ff] [2024/05/23 09:15:33.150 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:15:33.275 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958571685969920, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:33.298 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=106] [2024/05/23 09:15:33.298 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958571685969920, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000685f69ffff000000000001,EndKey:7480000000000000685f69ffff000000000001ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:15:33.315 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000001] ["end key"=7480000000000000685f69ffff000000000001ff] [2024/05/23 09:15:33.315 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000001ff] [2024/05/23 09:15:33.320 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000001ff] ["current end key"=7480000000000000685f69ffff00000000000100] [2024/05/23 09:15:33.321 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=106] [2024/05/23 09:15:33.321 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=106] [2024/05/23 09:15:33.321 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=106] [2024/05/23 09:15:33.321 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000001, 7480000000000000685f69ffff00000000000100), jobID: 106"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000010000] ["take time"=745.815µs] [2024/05/23 09:15:33.322 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=106] [2024/05/23 09:15:33.322 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000001] [2024/05/23 09:15:33.322 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:33.609 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:15:33.669 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=5.62065ms] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:33.684 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=58] [2024/05/23 09:15:33.689 +00:00] [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"=26.817267ms] [job="ID:106, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958571685969920, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:33.769 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:15:33.781 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="add index"] [2024/05/23 09:15:33.785 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=106] [conn=1] [job="ID:106, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:27.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958571685969920, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:33.836 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=1] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000002] [2024/05/23 09:15:33.971 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/23 09:15:33.972 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:33.974 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 6.679659061\n# Parse_time: 0.000715556\n# Compile_time: 0.001435523\n# Rewrite_time: 0.000024255\n# Optimize_time: 0.000800509\n# Wait_TS: 0.000130566\n# DB: test\n# Is_internal: false\n# Digest: f056cb3128d4ab402e1c24ca2ef0bc40a6686bd6e0f9612004534b4fb0b9458d\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx(c);"] [2024/05/23 09:15:33.977 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=58] [cur_db=test] [sql="alter table t add index idx1(c, a);"] [user=] [2024/05/23 09:15:34.020 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:15:34.020 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx1(c, a);"] [2024/05/23 09:15:34.209 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:34.212 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx1\",\"L\":\"idx1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"length\":-1},{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"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/23 09:15:34.300 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=9.944022ms] [gotSchemaVersion=59] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:34.317 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=59] [2024/05/23 09:15:34.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=59] ["take time"=28.502336ms] [job="ID:107, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:34.422 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:34.470 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=5.957585ms] [gotSchemaVersion=60] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:34.486 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=60] [2024/05/23 09:15:34.491 +00:00] [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"=28.214867ms] [job="ID:107, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:34.589 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:34.680 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=5.665776ms] [gotSchemaVersion=61] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:34.695 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=61] [2024/05/23 09:15:34.696 +00:00] [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"=22.084862ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:34.898 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:34.902 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=107] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:15:34.906 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:15:34.948 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=107] [2024/05/23 09:15:35.041 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958572170412032, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:35.044 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=107] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:15:35.129 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/107] [2024/05/23 09:15:35.624 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.492027252\n# Parse_time: 0\n# Compile_time: 0.004748164\n# Rewrite_time: 0.000855961\n# Optimize_time: 0.00108049\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003797\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NDg1LjRtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww0LjZtGVMQCTE0LjARRHgyCTExXzYJMAkxMDAwMAl0YWJsZTpUQUJMRVMJODE4DZUMNTIuNxlCNDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDUyLjdtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw4NC42GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwg1LjQdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:15:35.624 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:15:35.825 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=2] [2024/05/23 09:15:35.826 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:15:36.347 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:15:36.347 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:15:36.350 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=2] [curr-step=init] [next-step=read-index] [2024/05/23 09:15:36.369 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:15:36.797 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=2] [type=backfill] [remaining-slots=12] [2024/05/23 09:15:37.167 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=2] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:15:37.176 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=107] [2024/05/23 09:15:37.181 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:15:37.243 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:15:37.244 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=107] [indexIDs="[2]"] [2024/05/23 09:15:37.250 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=2] [subtask-id=2] [jobID=107] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:15:37.250 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:15:37.251 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:15:37.251 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:15:37.251 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:15:37.252 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:15:37.252 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=2] [subtask-id=2] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:15:37.257 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000203800000000000000b038000000000000001038000000000000001] [idxVal=30] [2024/05/23 09:15:37.257 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000203800000000000000c038000000000000002038000000000000002] [idxVal=30] [2024/05/23 09:15:37.257 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=2] [subtask-id=2] [id=1] [2024/05/23 09:15:37.258 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000203800000000000000d038000000000000003038000000000000003] [idxVal=30] [2024/05/23 09:15:37.258 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:15:37.371 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:15:37.392 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:15:37.396 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=107] [] [2024/05/23 09:15:37.396 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=2] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=228.343203ms] [] [2024/05/23 09:15:37.698 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:37.711 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=2] [type=backfill] [2024/05/23 09:15:37.833 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2024/05/23 09:15:37.869 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:15:37.869 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=2] [2024/05/23 09:15:38.003 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:15:38.022 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.321040053\n# Parse_time: 0\n# Compile_time: 0.004577244\n# Rewrite_time: 0.000884162\n# Optimize_time: 0.001186724\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002687\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6MzE0LjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUwwzLjdtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwwOC45GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzA4LjltcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgwxMy43GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwg0LjUdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:15:38.062 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=5.544764ms] [gotSchemaVersion=62] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:38.085 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=62] [2024/05/23 09:15:38.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=62] ["take time"=30.600518ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958572170412032, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:38.175 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958572170412032, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:38.178 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=107] [table=t] [index=idx1] [2024/05/23 09:15:38.221 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=9.202562ms] [gotSchemaVersion=63] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:38.241 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=63] [2024/05/23 09:15:38.251 +00:00] [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"=40.303878ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:38.399 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:38.404 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000002ff] [2024/05/23 09:15:38.461 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=107] [2024/05/23 09:15:38.538 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958573088178176, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:38.561 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=107] [2024/05/23 09:15:38.561 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958573088178176, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000685f69ffff000000000002,EndKey:7480000000000000685f69ffff000000000002ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:15:38.575 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000002] ["end key"=7480000000000000685f69ffff000000000002ff] [2024/05/23 09:15:38.613 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000002ff] [2024/05/23 09:15:38.618 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000002ff] ["current end key"=7480000000000000685f69ffff00000000000200] [2024/05/23 09:15:38.618 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=107] [2024/05/23 09:15:38.618 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=107] [2024/05/23 09:15:38.618 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=107] [2024/05/23 09:15:38.619 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000002, 7480000000000000685f69ffff00000000000200), jobID: 107"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000020000] ["take time"=967.24µs] [2024/05/23 09:15:38.619 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=107] [2024/05/23 09:15:38.619 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000002] [2024/05/23 09:15:38.620 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:38.969 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.346970685\n# Parse_time: 0\n# Compile_time: 0.004217434\n# Rewrite_time: 0.000718001\n# Optimize_time: 0.001050198\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00000265\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6MzQxbXMsIGxvb3BzOjIsIENvbmN1cnJlbmN5OjUJNS41NyBLQglOL0EKMQkxXzUJMAk4AUcIZXEoDUocMjIsIDEwNCkZUQgwLjMdUxAJMTQuMBFEKDIJMTFfNgkwCTEwAUY8dGFibGU6VEFCTEVTCTgxOA2TDDM0LjQZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzM0LjRtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw0MC4zGVIMMnDwbz5RAAhAAOFCUQAACA1OCDhaEwmZBDQxHUV4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:15:38.973 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:15:39.069 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=5.912764ms] [gotSchemaVersion=64] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:39.084 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=64] [2024/05/23 09:15:39.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=64] ["take time"=26.716838ms] [job="ID:107, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958573088178176, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:39.213 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=107] [tableID=104] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:15:39.223 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="add index"] [2024/05/23 09:15:39.228 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=107] [conn=1] [job="ID:107, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:33.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958573088178176, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:39.266 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=107] [elementID=1] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000003] [2024/05/23 09:15:39.390 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:15:39.390 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:39.392 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 5.417713059\n# Parse_time: 0.000818686\n# Compile_time: 0.001610789\n# Rewrite_time: 0.000020002\n# Optimize_time: 0.000800509\n# Wait_TS: 0.000139144\n# DB: test\n# Is_internal: false\n# Digest: 133e1e2016471787d90cfce0c738d87e18307c71355b259b0f42ef38ea6d70fc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx1(c, a);"] [2024/05/23 09:15:39.395 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=64] [cur_db=test] [sql="alter table t add index idx2(a);"] [user=] [2024/05/23 09:15:39.454 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:15:39.454 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:108, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx2(a);"] [2024/05/23 09:15:39.549 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:39.552 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"idx2\",\"L\":\"idx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"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/23 09:15:39.634 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=6.081644ms] [gotSchemaVersion=65] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:39.650 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=65] [2024/05/23 09:15:39.651 +00:00] [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"=50.027491ms] [job="ID:108, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:39.719 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:39.766 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=6.184647ms] [gotSchemaVersion=66] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:39.784 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=66] [2024/05/23 09:15:39.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=66] ["take time"=26.145907ms] [job="ID:108, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:39.952 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:40.007 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=6.704414ms] [gotSchemaVersion=67] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:40.048 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=67] [2024/05/23 09:15:40.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=67] ["take time"=48.514602ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:40.150 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:40.154 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=108] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:15:40.157 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=108] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:15:40.218 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=108] [2024/05/23 09:15:40.329 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958573547192320, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:40.343 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=108] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:15:40.437 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/108] [2024/05/23 09:15:40.832 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.392619348\n# Parse_time: 0\n# Compile_time: 0.003961167\n# Rewrite_time: 0.000639549\n# Optimize_time: 0.001090647\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002532\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6Mzg1LjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww0LjdtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQQ3OBlANDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZAoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWoc2NoZW1hEgZUQUJMRVNaE3RpbWU6Mzc4bXMsIGxvb3BzOjNwsJ9geP///wkCBAEhAVMMAEzdQAldeEC/QDABOAFAAVISZXEoQ29sdW1uIzIyLCAxMDQpWhUJUAw4NC43GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwg1LjMdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:15:40.833 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:15:41.062 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=3] [2024/05/23 09:15:41.062 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:15:41.570 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:15:41.571 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:15:41.574 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=3] [curr-step=init] [next-step=read-index] [2024/05/23 09:15:41.580 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:15:41.941 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=3] [type=backfill] [remaining-slots=12] [2024/05/23 09:15:42.341 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=3] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:15:42.345 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=108] [2024/05/23 09:15:42.350 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:15:42.529 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:15:42.530 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=108] [indexIDs="[3]"] [2024/05/23 09:15:42.540 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=3] [subtask-id=3] [jobID=108] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:15:42.540 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:15:42.540 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:15:42.540 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:15:42.541 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:15:42.541 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:15:42.541 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=3] [subtask-id=3] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:15:42.545 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f698000000000000003038000000000000001038000000000000001] [idxVal=30] [2024/05/23 09:15:42.546 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f698000000000000003038000000000000002038000000000000002] [idxVal=30] [2024/05/23 09:15:42.546 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f698000000000000003038000000000000003038000000000000003] [idxVal=30] [2024/05/23 09:15:42.547 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=3] [subtask-id=3] [id=1] [2024/05/23 09:15:42.547 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:15:42.608 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:15:42.629 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:15:42.632 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=108] [] [2024/05/23 09:15:42.632 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=3] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=291.429731ms] [] [2024/05/23 09:15:42.927 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:42.940 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=3] [type=backfill] [2024/05/23 09:15:43.085 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2024/05/23 09:15:43.132 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:15:43.132 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=3] [2024/05/23 09:15:43.225 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:15:43.362 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.432707577\n# Parse_time: 0\n# Compile_time: 0.004538771\n# Rewrite_time: 0.000882042\n# Optimize_time: 0.001234834\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1600996\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003323\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NDI2LjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUxQ1LjhtcywRUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VDDE1LjcZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDE1LjdtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgwyNS44GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwg2LjUdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:15:43.437 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=6.338817ms] [gotSchemaVersion=68] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:43.456 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=68] [2024/05/23 09:15:43.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=68] ["take time"=28.6832ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958573547192320, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:43.562 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958573547192320, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:43.571 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=108] [table=t] [index=idx2] [2024/05/23 09:15:43.716 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=6.568798ms] [gotSchemaVersion=69] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:43.755 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=69] [2024/05/23 09:15:43.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=69] ["take time"=46.88768ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:43.908 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:43.913 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=108] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000003ff] [2024/05/23 09:15:43.964 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=108] [2024/05/23 09:15:44.077 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958574532329472, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:44.113 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=108] [2024/05/23 09:15:44.113 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958574532329472, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000685f69ffff000000000003,EndKey:7480000000000000685f69ffff000000000003ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:15:44.124 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000003] ["end key"=7480000000000000685f69ffff000000000003ff] [2024/05/23 09:15:44.124 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000003ff] [2024/05/23 09:15:44.128 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000003ff] ["current end key"=7480000000000000685f69ffff00000000000300] [2024/05/23 09:15:44.128 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=108] [2024/05/23 09:15:44.128 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=108] [2024/05/23 09:15:44.128 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=108] [2024/05/23 09:15:44.129 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000003, 7480000000000000685f69ffff00000000000300), jobID: 108"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000030000] ["take time"=809.148µs] [2024/05/23 09:15:44.129 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=108] [2024/05/23 09:15:44.129 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000003] [2024/05/23 09:15:44.129 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:44.489 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.357623925\n# Parse_time: 0\n# Compile_time: 0.003080666\n# Rewrite_time: 0.000577982\n# Optimize_time: 0.000848746\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002222\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6MzUyLjltcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkuUwAEMm0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VBDQ2LkIANDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzQ2LjJtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgQ1Mi5SAAwycPBvPlEACEAA4UJRAAAIDU4AOB1HADkZmXwyYg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:15:44.493 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:15:44.597 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=8.040056ms] [gotSchemaVersion=70] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:44.616 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=70] [2024/05/23 09:15:44.616 +00:00] [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"=28.719077ms] [job="ID:108, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958574532329472, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:44.725 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=108] [tableID=104] [indexIDs="[9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:15:44.735 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="add index"] [2024/05/23 09:15:44.740 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=108] [conn=1] [job="ID:108, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958574532329472, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:44.804 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=108] [elementID=1] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000004] [2024/05/23 09:15:44.927 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/23 09:15:44.928 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:44.930 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 5.536062852\n# Parse_time: 0.000698659\n# Compile_time: 0.001385291\n# Rewrite_time: 0.000019899\n# Optimize_time: 0.000800509\n# Wait_TS: 0.000126668\n# DB: test\n# Is_internal: false\n# Digest: bd909f172fca139ffd608664494cb9ed439d0e1ca8c83c8155c2c8692a2d81fe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx2(a);"] [2024/05/23 09:15:44.936 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=70] [cur_db=test] [sql="alter table t add index idx3(d);"] [user=] [2024/05/23 09:15:44.992 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:15:44.992 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx3(d);"] [2024/05/23 09:15:45.150 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:45.152 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"idx3\",\"L\":\"idx3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"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/23 09:15:45.213 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=19.313144ms] [gotSchemaVersion=71] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:45.230 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=71] [2024/05/23 09:15:45.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=71] ["take time"=39.413379ms] [job="ID:109, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:45.354 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:45.403 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=7.70036ms] [gotSchemaVersion=72] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:45.427 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=72] [2024/05/23 09:15:45.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=72] ["take time"=34.370279ms] [job="ID:109, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:45.567 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:45.619 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=6.341826ms] [gotSchemaVersion=73] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:45.634 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=73] [2024/05/23 09:15:45.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=73] ["take time"=36.436227ms] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:45.715 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:45.720 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=109] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:15:45.724 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=109] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:15:45.776 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=109] [2024/05/23 09:15:45.893 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958575006023680, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:45.897 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=109] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:15:45.990 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/109] [2024/05/23 09:15:46.413 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.420101599\n# Parse_time: 0\n# Compile_time: 0.004966278\n# Rewrite_time: 0.000857252\n# Optimize_time: 0.001289607\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00000266\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NDEzLjJtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUwwyLjVtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgJlRAzODcuNBlCNDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6Mzg3LjRtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkNUhA0MTIuNRlSDDJw8G8+UQAIQADhQlEAAAgNTgA5FUcIMy4yHUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:15:46.414 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:15:46.650 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=4] [2024/05/23 09:15:46.651 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:15:47.167 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:15:47.167 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:15:47.170 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=4] [curr-step=init] [next-step=read-index] [2024/05/23 09:15:47.175 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:15:47.664 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=4] [type=backfill] [remaining-slots=12] [2024/05/23 09:15:48.113 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=4] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:15:48.117 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=109] [2024/05/23 09:15:48.121 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:15:48.239 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:15:48.240 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=109] [indexIDs="[4]"] [2024/05/23 09:15:48.248 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=4] [subtask-id=4] [jobID=109] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:15:48.248 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:15:48.249 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:15:48.249 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:15:48.249 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:15:48.249 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:15:48.250 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=4] [subtask-id=4] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:15:48.254 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=4] [subtask-id=4] [id=1] [2024/05/23 09:15:48.255 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000403800000000000000c038000000000000001] [idxVal=30] [2024/05/23 09:15:48.255 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000403800000000000000e038000000000000002] [idxVal=30] [2024/05/23 09:15:48.255 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f698000000000000004038000000000000010038000000000000003] [idxVal=30] [2024/05/23 09:15:48.256 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:15:48.364 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:15:48.376 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=109] [] [2024/05/23 09:15:48.376 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=4] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=262.849506ms] [] [2024/05/23 09:15:48.772 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:15:49.099 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=4] [type=backfill] [2024/05/23 09:15:49.122 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:49.159 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2024/05/23 09:15:49.202 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:15:49.203 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=4] [2024/05/23 09:15:49.354 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:15:49.685 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.560594468\n# Parse_time: 0\n# Compile_time: 0.012244932\n# Rewrite_time: 0.000719974\n# Optimize_time: 0.001094153\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002845\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NTQ2LjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww1LjltGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQQzNi5CADQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTM2LjltcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgQ0NS5SAAwycPBvPlEACEAA4UJRAAAIDU4AOBVHCDYuNRmZfDJiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:15:49.736 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=6.730337ms] [gotSchemaVersion=74] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:49.759 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=74] [2024/05/23 09:15:49.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=74] ["take time"=31.201894ms] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958575006023680, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:49.911 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958575006023680, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:49.916 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=109] [table=t] [index=idx3] [2024/05/23 09:15:49.984 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=6.444895ms] [gotSchemaVersion=75] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:50.045 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=75] [2024/05/23 09:15:50.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=75] ["take time"=77.923316ms] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:50.252 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:50.258 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=109] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000004] [endKey=7480000000000000685f69ffff000000000004ff] [2024/05/23 09:15:50.326 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=109] [2024/05/23 09:15:50.435 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958576195633152, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:50.471 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=109] [2024/05/23 09:15:50.471 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958576195633152, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000685f69ffff000000000004,EndKey:7480000000000000685f69ffff000000000004ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:15:50.498 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000004] ["end key"=7480000000000000685f69ffff000000000004ff] [2024/05/23 09:15:50.498 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000004] [endKey=7480000000000000685f69ffff000000000004ff] [2024/05/23 09:15:50.504 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000004ff] ["current end key"=7480000000000000685f69ffff00000000000400] [2024/05/23 09:15:50.517 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=109] [2024/05/23 09:15:50.518 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000004, 7480000000000000685f69ffff00000000000400), jobID: 109"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000040000] ["take time"=1.051247ms] [2024/05/23 09:15:50.518 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=109] [2024/05/23 09:15:50.518 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=109] [2024/05/23 09:15:50.519 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=109] [2024/05/23 09:15:50.519 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000004] [2024/05/23 09:15:50.519 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:50.947 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.425708706\n# Parse_time: 0\n# Compile_time: 0.004030283\n# Rewrite_time: 0.000789682\n# Optimize_time: 0.001061004\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002303\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NDE5LjltcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkuUwAEMm0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VDDA0LjYZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDA0LjZtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgwxOS4yGVIMMnDwbz5RAAhAAOFCUQAACA1OADgdRwA5HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:15:50.952 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:15:51.028 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=6.428119ms] [gotSchemaVersion=76] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:51.085 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=76] [2024/05/23 09:15:51.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=76] ["take time"=73.194373ms] [job="ID:109, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958576195633152, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:51.272 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=109] [tableID=104] [indexIDs="[9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:15:51.293 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=109] [jobType="add index"] [2024/05/23 09:15:51.312 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=109] [conn=1] [job="ID:109, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:44.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958576195633152, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:51.370 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=109] [elementID=1] [startKey=7480000000000000685f69ffff000000000004] [endKey=7480000000000000685f69ffff000000000005] [2024/05/23 09:15:51.508 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:15:51.508 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:51.511 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 6.577108152\n# Parse_time: 0.000782261\n# Compile_time: 0.001546896\n# Rewrite_time: 0.000020344\n# Optimize_time: 0.000800509\n# Wait_TS: 0.000144384\n# DB: test\n# Is_internal: false\n# Digest: f878fe69f23ee8cd687fbc18a75f518104f32e3c92c91dd582e502074c8ad29c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx3(d);"] [2024/05/23 09:15:51.515 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=76] [cur_db=test] [sql="alter table t add index idx4(d, c);"] [user=] [2024/05/23 09:15:51.559 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:15:51.559 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx4(d, c);"] [2024/05/23 09:15:51.755 +00:00] [INFO] [executor.go:1416] ["limit executor close takes a long time"] [elapsed=2.633931ms] [2024/05/23 09:15:51.779 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:51.782 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":5,\"idx_name\":{\"O\":\"idx4\",\"L\":\"idx4\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"length\":-1},{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:15:51.842 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=7.646163ms] [gotSchemaVersion=77] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:51.874 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=77] [2024/05/23 09:15:51.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=77] ["take time"=41.44941ms] [job="ID:110, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:52.048 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:52.104 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=19.631107ms] [gotSchemaVersion=78] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:52.124 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=78] [2024/05/23 09:15:52.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=78] ["take time"=41.042663ms] [job="ID:110, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:52.265 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:52.332 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=17.342383ms] [gotSchemaVersion=79] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:52.366 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=79] [2024/05/23 09:15:52.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=79] ["take time"=53.58305ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:52.560 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:52.572 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=t] ["ingest mode"=true] [index=idx4] [2024/05/23 09:15:52.576 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=110] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:15:52.682 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:15:52.813 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958576802496512, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:52.818 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=t] ["ingest mode"=true] [index=idx4] [2024/05/23 09:15:53.025 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/110] [2024/05/23 09:15:53.526 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.498845762\n# Parse_time: 0\n# Compile_time: 0.048665451\n# Rewrite_time: 0.00082193\n# Optimize_time: 0.00112129\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003333\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwWDAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NDQ4LjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCTgwMDAJZXEoDUwcMjIsIDEwNCkZUww3LjVtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwyNy42GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDI3LjZtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw0Ny41GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwg4LjMdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:15:53.527 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:15:53.840 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=5] [2024/05/23 09:15:53.840 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:15:54.356 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:15:54.356 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:15:54.366 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=5] [curr-step=init] [next-step=read-index] [2024/05/23 09:15:54.380 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:15:54.847 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=5] [type=backfill] [remaining-slots=12] [2024/05/23 09:15:55.205 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=5] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:15:55.209 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=110] [2024/05/23 09:15:55.212 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:15:55.296 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:15:55.297 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=110] [indexIDs="[5]"] [2024/05/23 09:15:55.319 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=5] [subtask-id=5] [jobID=110] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:15:55.320 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:15:55.320 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:15:55.320 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:15:55.320 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:15:55.320 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:15:55.321 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=5] [subtask-id=5] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:15:55.328 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=5] [subtask-id=5] [id=1] [2024/05/23 09:15:55.328 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000503800000000000000c03800000000000000b038000000000000001] [idxVal=30] [2024/05/23 09:15:55.328 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000503800000000000000e03800000000000000c038000000000000002] [idxVal=30] [2024/05/23 09:15:55.329 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000503800000000000001003800000000000000d038000000000000003] [idxVal=30] [2024/05/23 09:15:55.329 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:15:55.389 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:15:55.416 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:15:55.418 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=110] [] [2024/05/23 09:15:55.418 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=5] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=213.095799ms] [] [2024/05/23 09:15:55.577 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:55.787 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=5] [type=backfill] [2024/05/23 09:15:55.856 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2024/05/23 09:15:55.926 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:15:55.926 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=5] [2024/05/23 09:15:56.035 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:15:56.095 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.515995795\n# Parse_time: 0\n# Compile_time: 0.00596316\n# Rewrite_time: 0.000758658\n# Optimize_time: 0.002898077\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002617\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NTA4LjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww3LjRtGVMQCTE0LjARRHgyCTExXzYJMAkxMDAwMAl0YWJsZTpUQUJMRVMJODE4CZUQNDcyLjgZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDcyLjhtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkNUhA1MDcuNBlSDDJw8G8+UQAIQADhQlEAAAgNTgA4FUcIOC4zHUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:15:56.168 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=6.936698ms] [gotSchemaVersion=80] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:56.202 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=80] [2024/05/23 09:15:56.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=80] ["take time"=42.269655ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958576802496512, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:56.346 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958576802496512, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:56.351 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=110] [table=t] [index=idx4] [2024/05/23 09:15:56.442 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=14.70256ms] [gotSchemaVersion=81] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:56.458 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=81] [2024/05/23 09:15:56.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=81] ["take time"=32.253244ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:56.588 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:56.594 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=110] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000005] [endKey=7480000000000000685f69ffff000000000005ff] [2024/05/23 09:15:56.641 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:15:56.840 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958577856577536, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:56.876 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=110] [2024/05/23 09:15:56.876 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958577856577536, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:5,StartKey:7480000000000000685f69ffff000000000005,EndKey:7480000000000000685f69ffff000000000005ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:15:56.891 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000005] ["end key"=7480000000000000685f69ffff000000000005ff] [2024/05/23 09:15:56.891 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000005] [endKey=7480000000000000685f69ffff000000000005ff] [2024/05/23 09:15:56.897 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000005ff] ["current end key"=7480000000000000685f69ffff00000000000500] [2024/05/23 09:15:56.897 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/23 09:15:56.898 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000005, 7480000000000000685f69ffff00000000000500), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000050000] ["take time"=933.76µs] [2024/05/23 09:15:56.899 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/23 09:15:56.899 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/23 09:15:56.899 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/23 09:15:56.899 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:5,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000005] [2024/05/23 09:15:56.899 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:15:57.461 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.559346041\n# Parse_time: 0\n# Compile_time: 0.017048991\n# Rewrite_time: 0.000830083\n# Optimize_time: 0.012810057\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003176\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NTQwLjRtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkVUxAzOS42bRlTEAkxNC4wEUR4MgkxMV82CTAJMTAwMDAJdGFibGU6VEFCTEVTCTgxOA2VDDMyLjcZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTMyLjdtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkVUgg5LjYZUgwycPBvPlEACEAA4UJRAAAIDU4AOBFHDDQwLjQdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:15:57.466 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:15:57.652 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=13.047347ms] [gotSchemaVersion=82] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:15:57.687 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=82] [2024/05/23 09:15: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=82] ["take time"=76.153314ms] [job="ID:110, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958577856577536, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:57.817 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=104] [indexIDs="[9223090561878065157]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:15:57.832 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="add index"] [2024/05/23 09:15:57.837 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=110] [conn=1] [job="ID:110, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:15:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958577856577536, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:15:57.947 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=1] [startKey=7480000000000000685f69ffff000000000005] [endKey=7480000000000000685f69ffff000000000006] [2024/05/23 09:15:58.066 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/23 09:15:58.066 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:58.069 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 6.557438418\n# Parse_time: 0.00184772\n# Compile_time: 0.001921659\n# Rewrite_time: 0.000020939\n# Optimize_time: 0.000800509\n# Wait_TS: 0.000136869\n# DB: test\n# Is_internal: false\n# Digest: 6699e60118413e94eff0c725df2a007bd768722f882178ff3fe745e763734d20\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx4(d, c);"] [2024/05/23 09:15:58.098 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx1] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + 10, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + 10, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx1`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:15:58.098 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + 10)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + 10)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:15:58.101 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx2] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx2`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:15:58.236 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx3] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + `c`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + `c`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx3`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:15:58.270 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx4] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + `c`, `b` + 10)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + `c`, `b` + 10)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx4`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:15:58.504 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.420839956\n# Parse_time: 0.000394353\n# Compile_time: 0.011381488\n# Rewrite_time: 0.009785679\n# Optimize_time: 0.003009093\n# Wait_TS: 0\n# DB: test\n# Is_internal: false\n# Digest: 7c3601a87f8e8649d48b8c975011ecfc25ac54159d3e69528ea761ab6ab18d65\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nadmin check table t;"] [2024/05/23 09:15:58.548 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=82] [cur_db=test] [sql="drop table if exists t;"] [user=] [2024/05/23 09:15:58.598 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:58.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:58.598 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:58.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"] [2024/05/23 09:15:58.753 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:58.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:58.788 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=2.225287ms] [gotSchemaVersion=83] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:15:58.809 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=83] [2024/05/23 09:15:58.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=83] ["take time"=27.713556ms] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:58.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:58.957 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:58.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:59.036 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=494.164µs] [gotSchemaVersion=84] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:15:59.056 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=84] [2024/05/23 09:15:59.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=84] ["take time"=22.909754ms] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:58.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:59.138 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:58.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:59.374 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=511.398µs] [gotSchemaVersion=85] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:15:59.399 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=85] [2024/05/23 09:15:59.400 +00:00] [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"=48.521189ms] [job="ID:111, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:15:58.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:59.493 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=111] [tableIDs="[104]"] [comment="drop table: table ID"] [2024/05/23 09:15:59.539 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=111] [jobType="drop table"] [2024/05/23 09:15:59.543 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [job="ID:111, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:15:58.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:15:59.643 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=111] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/23 09:15:59.707 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/23 09:15:59.708 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:15:59.710 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.163166372\n# Parse_time: 0.000523486\n# Compile_time: 0.001226947\n# Rewrite_time: 0.000015711\n# Optimize_time: 0.000277902\n# Wait_TS: 0.000144985\n# DB: test\n# Is_internal: false\n# Digest: 293123a5976f55d0b9cd979cd8b74ca6ac90429498766df23f5b51fcc0399f24\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ndrop table if exists t;"] [2024/05/23 09:15:59.714 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=85] [cur_db=test] [sql="create table t (a int, b char(10), c char(10) as (concat(b, 'x')), d int, e char(20) as (c));"] [user=] [2024/05/23 09:15:59.834 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:15:59.834 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b char(10), c char(10) as (concat(b, 'x')), d int, e char(20) as (c));"] [2024/05/23 09:15:59.974 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=113] [conn=1] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:00.073 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=4.77191ms] [gotSchemaVersion=86] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:16:00.089 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=86] [2024/05/23 09:16:00.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=86] ["take time"=24.192874ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:15:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:00.176 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=113] [conn=1] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:15:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:00.273 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/23 09:16:00.273 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:00.276 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.565951714\n# Parse_time: 0.001976523\n# Compile_time: 0.00194788\n# Rewrite_time: 0.000013367\n# Optimize_time: 0.000277902\n# Wait_TS: 0.000123067\n# DB: test\n# Is_internal: false\n# Digest: c4fc2c6e7a01885cbbe031757fd81d39efba3f37041197a8eeaac600919df24e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncreate table t (a int, b char(10), c char(10) as (concat(b, 'x')), d int, e char(20) as (c));"] [2024/05/23 09:16:00.299 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=86] [cur_db=test] [sql="alter table t add index idx(c);"] [user=] [2024/05/23 09:16:00.340 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:16:00.340 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx(c);"] [2024/05/23 09:16:00.441 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:00.444 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:16:00.502 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=5.765012ms] [gotSchemaVersion=87] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:00.517 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=87] [2024/05/23 09:16:00.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=87] ["take time"=25.292246ms] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:00.662 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:00.731 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=88] ["start time"=6.669481ms] [gotSchemaVersion=88] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:00.764 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=88] [2024/05/23 09:16:00.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=88] ["take time"=42.145655ms] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:00.837 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:00.882 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=88] [neededSchemaVersion=89] ["start time"=6.188916ms] [gotSchemaVersion=89] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:00.937 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=89] [2024/05/23 09:16: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=89] ["take time"=62.523201ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:01.073 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:01.078 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:16:01.081 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:16:01.198 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/23 09:16:01.283 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958579032293376, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:01.287 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:16:01.421 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/114] [2024/05/23 09:16:01.924 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.500829648\n# Parse_time: 0\n# Compile_time: 0.004642071\n# Rewrite_time: 0.000860797\n# Optimize_time: 0.001195317\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003075\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NDkyLjltcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikuUwAEM20ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VBDg2LpUANDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDg2LjltcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgw5Mi4zGVIMMnDwbz5RAAhAAOFCUQAACA1OADkdRx2ZfDJiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:01.925 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=112] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:16:02.100 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=6] [2024/05/23 09:16:02.100 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:16:02.610 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:16:02.610 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:16:02.614 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=6] [curr-step=init] [next-step=read-index] [2024/05/23 09:16:02.619 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:16:02.908 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=6] [type=backfill] [remaining-slots=12] [2024/05/23 09:16:03.277 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=6] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:16:03.281 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=114] [2024/05/23 09:16:03.286 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:16:03.354 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:16:03.355 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=114] [indexIDs="[1]"] [2024/05/23 09:16:03.367 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=6] [subtask-id=6] [jobID=114] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:16:03.367 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:16:03.367 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:16:03.367 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:16:03.367 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:16:03.367 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:16:03.368 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=6] [subtask-id=6] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000705f728000000000000001, endKey=7480000000000000705f72800000000000000300"] [2024/05/23 09:16:03.373 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000001013178000000000000f9038000000000000001] [idxVal=30] [2024/05/23 09:16:03.373 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000001013278000000000000f9038000000000000002] [idxVal=30] [2024/05/23 09:16:03.373 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000001013378000000000000f9038000000000000003] [idxVal=30] [2024/05/23 09:16:03.374 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=6] [subtask-id=6] [id=1] [2024/05/23 09:16:03.374 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:16:03.475 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:16:03.485 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=114] [] [2024/05/23 09:16:03.485 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=6] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=207.876012ms] [] [2024/05/23 09:16:03.651 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:16:03.819 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=6] [type=backfill] [2024/05/23 09:16:04.030 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:04.108 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2024/05/23 09:16:04.160 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:16:04.160 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=6] [2024/05/23 09:16:04.291 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:16:04.521 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.488321708\n# Parse_time: 0\n# Compile_time: 0.004160935\n# Rewrite_time: 0.000761307\n# Optimize_time: 0.00107587\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.0000028\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NDgyLjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwwxLjdtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQw2Ny45GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDY3LjltcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgw4MS43GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwgyLjMdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:04.580 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=5.596359ms] [gotSchemaVersion=90] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:04.596 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=90] [2024/05/23 09:16:04.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=90] ["take time"=22.151772ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958579032293376, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:04.723 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958579032293376, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:04.727 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=114] [table=t] [index=idx] [2024/05/23 09:16:04.772 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=5.978337ms] [gotSchemaVersion=91] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:04.804 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=91] [2024/05/23 09:16: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=91] ["take time"=39.05042ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:04.936 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:04.942 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=112] [startKey=7480000000000000705f69ffff000000000001] [endKey=7480000000000000705f69ffff000000000001ff] [2024/05/23 09:16:04.999 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/23 09:16:05.189 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958580044955648, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:05.224 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=114] [2024/05/23 09:16:05.223 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958580044955648, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000705f69ffff000000000001,EndKey:7480000000000000705f69ffff000000000001ff,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/23 09:16:05.237 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f69ffff000000000001] ["end key"=7480000000000000705f69ffff000000000001ff] [2024/05/23 09:16:05.237 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f69ffff000000000001] [endKey=7480000000000000705f69ffff000000000001ff] [2024/05/23 09:16:05.243 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f69ffff000000000001ff] ["current end key"=7480000000000000705f69ffff00000000000100] [2024/05/23 09:16:05.243 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=114] [2024/05/23 09:16:05.244 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=114] [2024/05/23 09:16:05.244 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=114] [2024/05/23 09:16:05.244 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f69ffff000000000001, 7480000000000000705f69ffff00000000000100), jobID: 114"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000705f69ffff0000000000010000] ["take time"=944.082µs] [2024/05/23 09:16:05.244 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=114] [2024/05/23 09:16:05.244 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000705f69ffff000000000001] [2024/05/23 09:16:05.245 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:05.595 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.347571071\n# Parse_time: 0\n# Compile_time: 0.004392088\n# Rewrite_time: 0.000905108\n# Optimize_time: 0.001081098\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002735\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6MzQxLjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkQZXEoQ28FTCQyMiwgMTEyKQkxEVMMMC42bRlTEAkxNC4wEUQoMgkxMV82CTAJMTABjzx0YWJsZTpUQUJMRVMJODE4DUIMMzUuMRlCNDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzM1LjFtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgw0MC42GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwgxLjMdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:05.599 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:16:05.665 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=5.97635ms] [gotSchemaVersion=92] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:05.683 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=92] [2024/05/23 09:16:05.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=92] ["take time"=26.951904ms] [job="ID:114, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958580044955648, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:05.888 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=114] [tableID=112] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:16:05.902 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="add index"] [2024/05/23 09:16:05.907 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=1] [job="ID:114, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:00.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958580044955648, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:05.988 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=1] [startKey=7480000000000000705f69ffff000000000001] [endKey=7480000000000000705f69ffff000000000002] [2024/05/23 09:16:06.061 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/23 09:16:06.061 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:06.064 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 5.7666644080000005\n# Parse_time: 0.000689476\n# Compile_time: 0.001586965\n# Rewrite_time: 0.000031127\n# Optimize_time: 0.000277902\n# Wait_TS: 0.000137805\n# DB: test\n# Is_internal: false\n# Digest: f056cb3128d4ab402e1c24ca2ef0bc40a6686bd6e0f9612004534b4fb0b9458d\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx(c);"] [2024/05/23 09:16:06.066 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=92] [cur_db=test] [sql="alter table t add index idx1(a, c);"] [user=] [2024/05/23 09:16:06.101 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:16:06.101 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx1(a, c);"] [2024/05/23 09:16:06.242 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:06.245 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx1\",\"L\":\"idx1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:16:06.381 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=9.357317ms] [gotSchemaVersion=93] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:06.446 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=93] [2024/05/23 09:16:06.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=93] ["take time"=90.279448ms] [job="ID:115, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:06.612 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:06.658 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=6.458051ms] [gotSchemaVersion=94] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:06.674 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=94] [2024/05/23 09:16:06.679 +00:00] [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"=28.816876ms] [job="ID:115, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:06.845 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:06.917 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=6.390785ms] [gotSchemaVersion=95] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:06.971 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=95] [2024/05/23 09:16:06.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=95] ["take time"=62.924282ms] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:07.117 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:07.121 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=115] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:16:07.126 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:16:07.187 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=115] [2024/05/23 09:16:07.331 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958580616691712, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:07.336 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=115] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:16:07.436 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/115] [2024/05/23 09:16:07.881 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.443415042\n# Parse_time: 0\n# Compile_time: 0.004242184\n# Rewrite_time: 0.000801978\n# Optimize_time: 0.001079686\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003281\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NDM3LjJtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUww2LjVtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgRlQgwLjgZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDMwLjhtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikVUgg2LjUZUgwycPBvPlEACEAA4UJRAAAIDU4AORVHCDcuMh1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:16:07.882 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=112] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:16:08.208 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=7] [2024/05/23 09:16:08.208 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:16:08.716 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:16:08.716 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:16:08.719 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=7] [curr-step=init] [next-step=read-index] [2024/05/23 09:16:08.724 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:16:08.881 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=7] [type=backfill] [remaining-slots=12] [2024/05/23 09:16:09.341 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=7] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:16:09.346 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=115] [2024/05/23 09:16:09.368 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:16:09.452 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:16:09.453 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=115] [indexIDs="[2]"] [2024/05/23 09:16:09.469 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=7] [subtask-id=7] [jobID=115] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:16:09.469 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:16:09.469 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:16:09.469 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:16:09.470 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:16:09.470 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:16:09.482 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=7] [subtask-id=7] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000705f728000000000000001, endKey=7480000000000000705f72800000000000000300"] [2024/05/23 09:16:09.487 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=7] [subtask-id=7] [id=1] [2024/05/23 09:16:09.493 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000002038000000000000001013178000000000000f9038000000000000001] [idxVal=30] [2024/05/23 09:16:09.494 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000002038000000000000002013278000000000000f9038000000000000002] [idxVal=30] [2024/05/23 09:16:09.494 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000002038000000000000003013378000000000000f9038000000000000003] [idxVal=30] [2024/05/23 09:16:09.494 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:16:09.587 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:16:09.599 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=115] [] [2024/05/23 09:16:09.599 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=7] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=257.187092ms] [] [2024/05/23 09:16:09.763 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:16:09.913 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=7] [type=backfill] [2024/05/23 09:16:10.058 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:10.225 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2024/05/23 09:16:10.319 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:16:10.319 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=7] [2024/05/23 09:16:10.571 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:16:10.651 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.589976262\n# Parse_time: 0\n# Compile_time: 0.004536434\n# Rewrite_time: 0.000845263\n# Optimize_time: 0.001114873\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002945\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NTgzLjJtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwwyLjVtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQw3NC40GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTc0LjRtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgw4Mi41GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwgzLjIdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:10.732 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=6.002276ms] [gotSchemaVersion=96] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:10.750 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=96] [2024/05/23 09:16:10.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=96] ["take time"=29.147958ms] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958580616691712, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:10.859 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958580616691712, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:10.863 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=115] [table=t] [index=idx1] [2024/05/23 09:16:10.956 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=8.50279ms] [gotSchemaVersion=97] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:10.990 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=97] [2024/05/23 09:16:11.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=97] ["take time"=58.384327ms] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:11.171 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:11.197 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=112] [startKey=7480000000000000705f69ffff000000000002] [endKey=7480000000000000705f69ffff000000000002ff] [2024/05/23 09:16:11.279 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=115] [2024/05/23 09:16:11.402 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958581684666368, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:11.430 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=115] [2024/05/23 09:16:11.429 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958581684666368, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000705f69ffff000000000002,EndKey:7480000000000000705f69ffff000000000002ff,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/23 09:16:11.443 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f69ffff000000000002] ["end key"=7480000000000000705f69ffff000000000002ff] [2024/05/23 09:16:11.444 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f69ffff000000000002] [endKey=7480000000000000705f69ffff000000000002ff] [2024/05/23 09:16:11.452 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f69ffff000000000002ff] ["current end key"=7480000000000000705f69ffff00000000000200] [2024/05/23 09:16:11.452 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=115] [2024/05/23 09:16:11.452 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=115] [2024/05/23 09:16:11.452 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=115] [2024/05/23 09:16:11.453 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f69ffff000000000002, 7480000000000000705f69ffff00000000000200), jobID: 115"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000705f69ffff0000000000020000] ["take time"=1.06295ms] [2024/05/23 09:16:11.454 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=115] [2024/05/23 09:16:11.454 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000705f69ffff000000000002] [2024/05/23 09:16:11.454 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:12.102 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.645366689\n# Parse_time: 0\n# Compile_time: 0.004408943\n# Rewrite_time: 0.000799877\n# Optimize_time: 0.000902811\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002973\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjM5bXMsIGxvb3BzOjIsIENvbmN1cnJlbmN5OjUJNS41NyBLQglOL0EKMQkxXzUJMAk4AUcIZXEoDUocMjIsIDExMikZUQg4LjMdUxAJMTQuMBFEKDIJMTFfNgkwCTEwAUY8dGFibGU6VEFCTEVTCTgxOBGTBDAuHZU0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NjMwLjltcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikVUgg4LjMZUgwycPBvPlEACEAA4UJRAAAIDU4IOFoTDZkdl3wyYg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:16:12.106 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:16:12.288 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=6.918671ms] [gotSchemaVersion=98] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:12.325 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=98] [2024/05/23 09:16:12.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=98] ["take time"=51.388931ms] [job="ID:115, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958581684666368, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:12.529 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=115] [tableID=112] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:16:12.546 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="add index"] [2024/05/23 09:16:12.551 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=1] [job="ID:115, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:06.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958581684666368, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:12.623 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=115] [elementID=1] [startKey=7480000000000000705f69ffff000000000002] [endKey=7480000000000000705f69ffff000000000003] [2024/05/23 09:16:12.693 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/23 09:16:12.699 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:12.702 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 6.637182316\n# Parse_time: 0.000637601\n# Compile_time: 0.001220642\n# Rewrite_time: 0.000019693\n# Optimize_time: 0.000277902\n# Wait_TS: 0.000704804\n# DB: test\n# Is_internal: false\n# Digest: 95a43a4dd28df0111dd9112fd7a10ac171fc1c2006114915a87dc68ea8e547b9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx1(a, c);"] [2024/05/23 09:16:12.705 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=98] [cur_db=test] [sql="alter table t add index idx2(c(7));"] [user=] [2024/05/23 09:16:12.781 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:16:12.782 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx2(c(7));"] [2024/05/23 09:16:12.953 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:12.956 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"idx2\",\"L\":\"idx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"length\":7}],\"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/23 09:16:13.027 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=8.49201ms] [gotSchemaVersion=99] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:13.048 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=99] [2024/05/23 09:16:13.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=99] ["take time"=30.697092ms] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:13.325 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:13.401 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=6.933457ms] [gotSchemaVersion=100] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:13.436 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=100] [2024/05/23 09:16:13.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=100] ["take time"=46.025763ms] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:13.591 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:13.643 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=100] [neededSchemaVersion=101] ["start time"=6.9065ms] [gotSchemaVersion=101] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:13.680 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=101] [2024/05/23 09:16:13.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=101] ["take time"=49.735082ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:13.775 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:13.780 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:16:13.784 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:16:13.861 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/23 09:16:13.970 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958582362046464, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:13.976 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:16:14.172 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/116] [2024/05/23 09:16:14.738 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.535206119\n# Parse_time: 0\n# Compile_time: 0.004479798\n# Rewrite_time: 0.000794338\n# Optimize_time: 0.001146272\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00000223\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NTI0LjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwwzLjhtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwxMC42GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTEwLjZtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgwyMy44GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwg0LjUdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:14.738 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=112] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:16:15.216 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=8] [2024/05/23 09:16:15.216 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:16:15.738 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:16:15.738 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:16:15.743 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=8] [curr-step=init] [next-step=read-index] [2024/05/23 09:16:15.759 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:16:16.244 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=8] [type=backfill] [remaining-slots=12] [2024/05/23 09:16:16.629 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=8] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:16:16.633 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=116] [2024/05/23 09:16:16.645 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:16:16.840 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:16:16.841 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=116] [indexIDs="[3]"] [2024/05/23 09:16:16.907 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=8] [subtask-id=8] [jobID=116] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:16:17.016 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:16:17.016 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:16:17.017 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:16:17.017 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:16:17.017 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:16:17.018 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=8] [subtask-id=8] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000705f728000000000000001, endKey=7480000000000000705f72800000000000000300"] [2024/05/23 09:16:17.024 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000003013178000000000000f9038000000000000001] [idxVal=30] [2024/05/23 09:16:17.025 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=8] [subtask-id=8] [id=1] [2024/05/23 09:16:17.025 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000003013278000000000000f9038000000000000002] [idxVal=30] [2024/05/23 09:16:17.026 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000003013378000000000000f9038000000000000003] [idxVal=30] [2024/05/23 09:16:17.026 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:16:17.253 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449958583243898880\n# Query_time: 0.305198526\n# Parse_time: 0\n# Compile_time: 0.221512806\n# Rewrite_time: 0.052936555\n# Optimize_time: 0.074569587\n# Wait_TS: 0.000223276\n# Cop_time: 0.009473643 Process_time: 0.003 Request_count: 4\n# Index_names: [tidb_background_subtask:idx_exec_id,tidb_global_task:state]\n# Is_internal: true\n# Digest: 8e00fe5c3677d581b104159ff91d824e3be8160c4e4be058288db681abd1a134\n# Stats: tidb_global_task:pseudo[10000;0],tidb_background_subtask:pseudo[10000;0]\n# Num_cop_tasks: 4\n# Cop_proc_avg: 0.00075 Cop_proc_p90: 0.001 Cop_proc_max: 0.001 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 74493\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Warnings: [{\"Level\":\"Note\",\"Message\":\"[st,idx_exec_id] remain after pruning paths for st given Prop{SortItems: [], TaskTp: rootTask}\",\"IsExtra\":true},{\"Level\":\"Note\",\"Message\":\"[t,state] remain after pruning paths for t given Prop{SortItems: [], TaskTp: rootTask}\",\"IsExtra\":true}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yyqwMAkxNF8xMwkwCTEJbXlzcWwudGlkYl9nbG9iYWxfdGFzay5wcmlvcml0eSwgWiEAKGNyZWF0ZV90aW1lYiQAEGlkCTEJASKYOjU2LjZtcywgbG9vcHM6Mgk0LjczIEtCCTAgQnl0ZXMKMQkzXzE1bpEADGlkLCBaiwABsQxfa2V5ZiEABHlwZqUADHN0YXRuHgAEZXBiWACGJQEgb25jdXJyZW5jZp0AjkkBJHRhcmdldF9zY28BySBDb2x1bW4jMzU5Xj1cCCwgQxl2DDpPRkYhbQAxIW0kTi9BCjIJNl8xNiVpIGdyb3VwIGJ5OlpXASFyJGZ1bmNzOm1heCgdJQxiYWNrAT0UbmRfc3ViIX4ALh3pCCktPhWhACwNQRxmaXJzdHJvdy5GAC5uAhBpZCktPh1iNhwAnkYAAYpBCGZMABEiolIACHlwZWpOAEVXKSN+4gBFZmZLAAUfnpYAUXdmTwARIp5SAF2EZlUAHSWiWABZimpYABklnlgADHN0ZXBmUQABHp5KAC5aA2ZSAC4mAHV1CDUuNzJ3A0xwYXJ0aWFsX3dvcmtlcjp7d2FsbKUgIDo1MS43NTY2NAEvHe4MOjUsIEWSZG51bToxLCB0b3Rfd2FpdDoyNTEuNDU2OTc1ATIBFzRleGVjOjI4MC4xOMK1cwkrpVkBKxQ5MjM4MDkBKyxtYXg6NTAuNDM0OTkFnQhwOTUuEQAUfSwgZmluUqQACDBzLGKcAAGoEZwYNS4zNDE4MgVvARUFmhA1LjI4MzqZABw2MC4zMTAyMgWIBZkUNC43ODM0BdQFmBUQAH2BmwEENAozCTNfMTgJMAkwLjAyXpwGgZlaLQQlT/4LBloLBnlVWn0AMiEDXiQALu0CWiQAScBaHQAuiwIymQZ2lgVVtggxLjJBKu2Jdi0GGDQJMTdfMjAxj1Bpbm5lciBqb2luLCBlcXVhbDpbZXEu0wVKgwByzAABHRApIGVxKNExADcBkMndCDYpXRW0BDAuRW8VtGRidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDo0OAkpEGZldGNoAQ7lGAUuEDoyNzEuYTwkfSwgcHJvYmU6ez2LTeIYYWw6MTk4LkWiQbIEMzkJUAkxDDI5Mi5J5QVgECBhbmQgZa8BNCAybXN9CTEwLjLhaR7WCBw1CTNfMjEoQgGvACkxRj3YjjABSiQAHbkULCBjYXN0eoQBeRUwZG91YmxlIEJJTkFSWf2pADcxawQ0OCk0NWs+TAgIMi42IkwIFDYJMzBfMnWuEUQMMjkuMTJjAhBpbmRleBJXCgQ6ICmqibwQIDMuNDMBKiVQGF9oYW5kbGUFFgVAKbgQIDYuNjWFWyVsGCAxMS4ywrUhxyX7TlcABDE1IY8ELCChVwQgMTbXBCwgNX0sIG5leHQ6IHsBUQBfBZ0QOiAxMy6lnwUUCVoYbG9va3VwXw2HEDQ3Ni45FYg2IwAkcmVzcDogMTQuOEUGCDkuOUEGDm8JGDcJNDdfMjVRAxgxXzAJMTAJBWAMOnN0LCkbEDppZHhfoUgMX2lkKA0IRCksIHJhbmdlOlsiOjQwMDAiLA0IUF0sIGtlZXAgb3JkZXI6ZmFsc2UsIA4/CBxzOnBzZXVkbzGHCDMuM0XJKcsAMyEHAHAxLjEaQeUMIDEuMmUoDHByb2OhPAxzOiAwBS5ccl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsKZoFTAhfZHUFGhhuOiA2Ni4xJSAsbWF4X2Rpc3RzcWxfXatMOiAxfSwgcnBjX2luZm86e0NvcDoBiRBfcnBjOsn+Dn0MRGltZToxLjE1bXN9fSwgdGlrdgVpBDp7BRoIOTIwJf8eSgwAMNk7HDcJMV8yNyhQYd0AKSVqxUQEaW56HgMhPEhlLCAicGVuZGluZyIsICJydW5uAQswKSwgbm90KGlzbnVsbIJHAAxlcCkpMX0EMTRJTyl9ADIlTwnIACAB9EWXJX0IMi4wRe02fQHhWQESBDogBR0EY2+6jAEENTlNrP6MASGMADmB3EqMAQgxLja9lwAwBSIgbWVfZGV0YWlsdeoBxwhlc3Nt8gAxYSEETi/p7Rg4CTQ1XzI2JawyFgOK4QI2FwI+iwAVY6WCADlRFRgwCTI5Ljk3LoMFPmoMvZ4uGwC5Q14hABIMDFodAE1jWh4A/lgI/lgITlgIPlYGLgwBDn8JXkkGADZxAQQyMaENcadSaAgEMzSxJsVJADMOlg4poB1FpZV1RqWtcUgAdOH0TVgAMlJKBgQyLjJKBgA3hZ+h4gw6IDE2ekUGBDguFuQKsSsyygRaRQYIMy42ZbABYzYiBtFFBDk0GkMIRiMAyUUINy44gfsQCTIxLjUxH8VFBDMzLkUGADPRRdVERWQAKAUG3TwMcGF1c4HKACwVCihdLCBbInJldmVydAkZGQwJG438ACy1BqJyBgQyLqJyBgAzJdiBHNly/vUECDY3LiHVACz+9QSF9QQyNFaBBggxLjAqQAvK9QTBpwQzNZGSDhEISfRWaQYueAMSLgvVYgg3LjO9fmpiBggxLjkFKf5tATZtAQg1Ny4WDgn+YgbBYgA4DjgJxUBC1wUSmgiJAMptAcViBDM0JWcuMwPOYQYyigAgCU4vQQlOL0EK')\n# Plan_digest: 19251e4d0852c3daee269dcb983554a856b9ab56b15a27ac9c282faeeb7e2e53\n# Binary_plan: tidb_decode_binary_plan('wy7ACr4uCgdTb3J0XzEzEqEtCg1Qcm9qZWN0aW9uXzE1EpYqCgpIYXNoQWdnXzE2EssgCjIhABQ4Ep4dCgsBISRKb2luXzIwErkMMkMAZDIxEr8KCg5JbmRleExvb2tVcF8yOBKTAwoRBRNAUmFuZ2VTY2FuXzI1GgEBIQABAQzQgUApAQj0aQEAACRAMAE4AkACSiUKIwoFbXlzcWwSAnN0GhYKC2lkeF9leGVjX2lkEgdleGVjX2lkUjdyYW5nZTpbIjo0MDAwIiwiOjQwMDAiXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvWhR0aW1lOjMuMzVtcywgbG9vcHM6M2KyAWNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDEuMjZtcywgcHJvY19rZXlzOiAwLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGRfdGFza19kdXJhdGlvbjogNjYuMcK1cywgbWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCBycGNfaW5mbzp7Q29wOntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MS4xNW1zfX1qInRpa3ZfdGFzazp7dGltZTo5MjAuMsK1cywgbG9vcHM6MH1w////////////AXj//////wULHBLoBAoMU2VsLf1AMjcSkgEKEVRhYmxlUm93SUQppwA2KaQEVKVCpAEIDQoLPaQIUh5rcnMBGGogdGlrdl8lXQx7dGltAcIINjltNX4IMH1wAZYFAQQBeAUHAQEMARoBAgmCLJClQCmg20sao3WUP0kmEFJuaW4oRSVMLnRpZGJfYmFja2dyb3VuZF9zdWIBalwuc3RhdGUsICJwZW5kaW5nIiwgInJ1bm4BCzApLCBub3QoaXNudWxsgkcADGVwKSlNNgwxNC40GbgIMmLBYjYCDDIuMDEBKgRwci42Agx0b3RfARIEOiAFHcJFAgw1OS45/kUCVUUcOTJtc319akh+nQEELCAhtDhfZGV0YWlsOiB7dG90YWwFxwxlc3NfARwFz1rFARwhjURsjTL1cjLCAQgBQAEtUggyOS4lCwBsZYgQMmLuAWmBQEktEWwJZAwzLjQzIVMwZmV0Y2hfaGFuZGxlOgEWBUEoYnVpbGQ6IDYuNjUlIjB3YWl0OiAxMS4ywrVzAcRB3U5XAAwxNS4yAVcIbnVtZfUYY29uY3VycmmUKDV9LCBuZXh0OiB7AVEAXwWdDDogMTNJCAUUCVoYbG9va3VwXw2HCDQ3Ni2qRiMAPHJlc3A6IDE0Ljhtc31wmp828wIgASGpg8CnYxV0PjEBCFKVAX7xAgxlcCwgdiQAHd0ULCBjYXN0ev4CYUp4X2tleSwgZG91YmxlIEJJTkFSWSktPkNvbHVtbiMzNy3JDDQ4LjYhRzHJBA9DPUgUT0ZGcOwUfdsIEpUONjwGCDkS1To8BgwzNhL1RjwGCDMzGtE8BLiakZgAPtE8CBwKGpGYFAF0Gg4KBYUFABIJBwRSbdEzDHBhdXOBCAAsFQooXSwgWyJyZXZlcnQJGRkMCRuNOgAslUQAXZppBgwyLjM1ORgAM2ozBAgxLjOFXYEhIXTJaf4zBAw2Ny42ZREIbWF47ngGxXgEMjReMwQAMGVEKf0AMGFvBGlt4jMEBBKhMp4GDDM1EpFGngYEMzTJHASquUIGAggMCgpZBtKdBl3Kgp0GKAS6QCm5HoXrUfg9TYcEUihWXgYUZ2xvYmFshYQELnMuVwYINy4z/Q9uVwYIMS45BSr+JAI2JAIENTeNrf4kAkEkADiB11ZXBjJXAfpXBhiJO8PWS+GNMnwB3VcAMamhSZEIMmLpZlcGADJSVwYEMi4yVwYAN2VDocwIOiAxYVABv15SBgg4LjIlpa5SBggzLjbFxwFjVlIGDDk0LjMVhjYjAMlSDDcuODXBUgSvrDZSBiACIekglPkmAY8+LAEIUtsC3S4ungIEaWQySQYuGwDZElo8AAx0eXBlYj4ApZBiHgAccHJpb3JpdHliIQAUY3JlYXRlEhAIZiQA2XhiJABhfmIdACR0YXJnZXRfc2NvAck+JQcuDAEhJ14YBwA27RgEMjHh6AAsVYpCGAcE3CL9GEAhxakaJTnOlEApidLe4AuTmQ7wCmQBQAFScGlubmVyIGpvaW4sIGVxdWFsOltlcXq+B3LnAAEdECkgZXEo9coELCARCwg2KV0Nvwg1MC5FzHFJBJcBEuIIEF9oYXNoSYUEOnsSEQoOAQgFKhKfCQEOZe4FLhQ6MjcxLjgWiAkYcHJvYmU6ez2mCDo1LMHmGGFsOjE5OC7lLQ55DQQzOQlQCTEIMjkyTf8FYAwgYW5kZSwFNA7JCihw1FEhfv1UfUgWlUI9AQDL/ugC/ugC/ugC/ugCiugCfc5KTQ09r1EZADEhd2rYAgTYJS7YAhjOpmfib5qV8awA8FHYBLcGDrcNEHAgYnk6HYI+ZQMgZnVuY3M6bWF4evECHacqowoENSwNQRxmaXJzdHJvdy5GADZrAAgpLT6ChwB+RgCxImZMABEinpgAoVNqTgClcSkjfpwApYBmSwAFH56WALGuZk8AESKeUgC932ZVAB0lolgA2RNqWAAZJZ5YAKVDYjICAR6eSgAudAZmUgAuJgBxhwg1LjcmXwxcMmK7AnBhcnRpYWxfd29ya2VyOnt3YWxs5TIcOjUxLjc1NjYSZQwd7qWADGFza18OsAgAMaWMAF8OhwgkOjI1MS40NTY5N6WUDokMDoYTFDoyODAuMaHOCSsO6gsFKxA5MjM4MMUDob8cNTAuNDM0OTkFnghwOTUuEQAUfSwgZmluUqQACDBzLGKcAMkoCZwUNS4zNDE4FmgJFZoQNS4yODMSJAkBEwmZHDYwLjMxMDIyBYgFmRQ0Ljc4MzQF1AWYFRBewhAUNA3OSNbkRrwEAKv+Vwb+VwY6VwZJcVrABHmMWiEAXRJiGwkyfANaSAAupQImUggINVoSJZAANRIWCB5OCEINCTY1BhSSxxdV2PxGeQEAXlp7AIbkAIpACgRpZHFbADYWwwgsbG9vcHM6MnDoJRgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:17.360 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:16:17.368 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=116] [] [2024/05/23 09:16:17.368 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=8] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=739.099949ms] [] [2024/05/23 09:16:17.393 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:16:17.692 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=8] [type=backfill] [2024/05/23 09:16:17.724 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2024/05/23 09:16:17.734 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:17.808 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:16:17.808 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=8] [2024/05/23 09:16:18.047 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:16:18.317 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.579179795\n# Parse_time: 0\n# Compile_time: 0.011761858\n# Rewrite_time: 0.000868719\n# Optimize_time: 0.001076579\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002938\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NTY1LjZtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwQ0bRlREAkxNC4wEUJ4MgkxMV82CTAJMTAwMDAJdGFibGU6VEFCTEVTCTgxOA2TDDQ1LjkZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTQ1LjltcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV94QL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMilaEwlSBDY0GVAMMnDwbz5PAAhAAOFCTwAACA1MADgRlww2NS42HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:16:18.406 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=101] [neededSchemaVersion=102] ["start time"=16.741748ms] [gotSchemaVersion=102] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:18.446 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=102] [2024/05/23 09:16:18.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=102] ["take time"=58.63881ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958582362046464, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:18.600 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958582362046464, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:18.605 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=116] [table=t] [index=idx2] [2024/05/23 09:16:18.715 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=102] [neededSchemaVersion=103] ["start time"=6.753788ms] [gotSchemaVersion=103] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:18.737 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=103] [2024/05/23 09:16:18.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=103] ["take time"=30.721304ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:18.841 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:18.862 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=112] [startKey=7480000000000000705f69ffff000000000003] [endKey=7480000000000000705f69ffff000000000003ff] [2024/05/23 09:16:18.975 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/23 09:16:19.190 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958583694000128, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:19.217 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=116] [2024/05/23 09:16:19.216 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958583694000128, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000705f69ffff000000000003,EndKey:7480000000000000705f69ffff000000000003ff,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/23 09:16:19.230 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f69ffff000000000003] ["end key"=7480000000000000705f69ffff000000000003ff] [2024/05/23 09:16:19.231 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f69ffff000000000003] [endKey=7480000000000000705f69ffff000000000003ff] [2024/05/23 09:16:19.237 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f69ffff000000000003ff] ["current end key"=7480000000000000705f69ffff00000000000300] [2024/05/23 09:16:19.238 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=116] [2024/05/23 09:16:19.238 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=116] [2024/05/23 09:16:19.238 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=116] [2024/05/23 09:16:19.238 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f69ffff000000000003, 7480000000000000705f69ffff00000000000300), jobID: 116"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000705f69ffff0000000000030000] ["take time"=1.354847ms] [2024/05/23 09:16:19.239 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=116] [2024/05/23 09:16:19.239 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000705f69ffff000000000003] [2024/05/23 09:16:19.239 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:19.782 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.539654984\n# Parse_time: 0\n# Compile_time: 0.004558543\n# Rewrite_time: 0.000812055\n# Optimize_time: 0.001200453\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003141\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NTMzLjJtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwwyLjVtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwyNi42GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTI2LjZtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgwzMi41GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwgzLjIdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:19.792 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:16:19.925 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=103] [neededSchemaVersion=104] ["start time"=41.770089ms] [gotSchemaVersion=104] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:20.078 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=104] [2024/05/23 09:16:20.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=104] ["take time"=214.07286ms] [job="ID:116, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958583694000128, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:20.148 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=116] [tableID=112] [indexIDs="[9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:16:20.159 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="add index"] [2024/05/23 09:16:20.164 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=1] [job="ID:116, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958583694000128, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:20.249 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=1] [startKey=7480000000000000705f69ffff000000000003] [endKey=7480000000000000705f69ffff000000000004] [2024/05/23 09:16:20.342 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/23 09:16:20.342 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:20.345 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 7.641933373\n# Parse_time: 0.000778588\n# Compile_time: 0.001696953\n# Rewrite_time: 0.000019097\n# Optimize_time: 0.000277902\n# Wait_TS: 0.000123725\n# DB: test\n# Is_internal: false\n# Digest: e23d0d2e2aeeb337401bbbc38c4fa3249c8950ef591190ce6698db1278cdb446\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx2(c(7));"] [2024/05/23 09:16:20.348 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=104] [cur_db=test] [sql="alter table t add index idx3(e(5));"] [user=] [2024/05/23 09:16:20.441 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:16:20.442 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx3(e(5));"] [2024/05/23 09:16:20.633 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:20.637 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"idx3\",\"L\":\"idx3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"e\",\"L\":\"e\"},\"offset\":4,\"length\":5}],\"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/23 09:16:20.695 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=104] [neededSchemaVersion=105] ["start time"=7.131218ms] [gotSchemaVersion=105] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:20.719 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=105] [2024/05/23 09:16:20.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=105] ["take time"=35.53607ms] [job="ID:117, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:20.973 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:21.028 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=105] [neededSchemaVersion=106] ["start time"=7.000722ms] [gotSchemaVersion=106] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:21.051 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=106] [2024/05/23 09:16:21.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=106] ["take time"=31.137241ms] [job="ID:117, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:21.191 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:21.237 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=106] [neededSchemaVersion=107] ["start time"=6.912927ms] [gotSchemaVersion=107] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:21.257 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=107] [2024/05/23 09:16:21.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=107] ["take time"=28.288097ms] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:21.372 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:21.376 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=117] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:16:21.397 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=117] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:16:21.446 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=117] [2024/05/23 09:16:21.652 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958584357748736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:21.657 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=117] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:16:21.750 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/117] [2024/05/23 09:16:22.273 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.519523298\n# Parse_time: 0\n# Compile_time: 0.004940734\n# Rewrite_time: 0.00144497\n# Optimize_time: 0.001031348\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002919\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NTEyLjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwwxLjZtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwwNS41GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTA1LjVtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgwxMS42GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwgyLjMdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:22.274 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=112] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:16:22.556 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=9] [2024/05/23 09:16:22.557 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:16:23.092 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:16:23.093 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:16:23.096 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=9] [curr-step=init] [next-step=read-index] [2024/05/23 09:16:23.101 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:16:23.583 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=9] [type=backfill] [remaining-slots=12] [2024/05/23 09:16:23.956 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=9] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:16:23.961 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=117] [2024/05/23 09:16:23.966 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:16:24.041 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:16:24.042 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=117] [indexIDs="[4]"] [2024/05/23 09:16:24.059 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=9] [subtask-id=9] [jobID=117] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:16:24.059 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:16:24.059 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:16:24.059 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:16:24.059 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:16:24.059 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:16:24.060 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=9] [subtask-id=9] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000705f728000000000000001, endKey=7480000000000000705f72800000000000000300"] [2024/05/23 09:16:24.064 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000004013178000000000000f9038000000000000001] [idxVal=30] [2024/05/23 09:16:24.065 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000004013278000000000000f9038000000000000002] [idxVal=30] [2024/05/23 09:16:24.065 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000004013378000000000000f9038000000000000003] [idxVal=30] [2024/05/23 09:16:24.066 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=9] [subtask-id=9] [id=1] [2024/05/23 09:16:24.066 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:16:24.234 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:16:24.237 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=117] [] [2024/05/23 09:16:24.237 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=9] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=280.385847ms] [] [2024/05/23 09:16:24.594 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:16:24.917 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=9] [type=backfill] [2024/05/23 09:16:24.963 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:25.074 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=9] [2024/05/23 09:16:25.114 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:16:25.114 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=9] [2024/05/23 09:16:25.328 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:16:25.642 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.66579839\n# Parse_time: 0\n# Compile_time: 0.004322578\n# Rewrite_time: 0.000827147\n# Optimize_time: 0.00108676\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003098\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjUyLjZtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwAxMlMAEAkxNC4wEUQoMgkxMV82CTAJMTABjzx0YWJsZTpUQUJMRVMJODE4DZUINDUuHZU0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NjQ1LjZtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgQ1MS5SAAwycPBvPlEACEAA4UJRAAAIDU4EOFoNmQQ1MjJHAHhiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:25.791 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=107] [neededSchemaVersion=108] ["start time"=13.651622ms] [gotSchemaVersion=108] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:25.810 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=108] [2024/05/23 09:16:25.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=108] ["take time"=34.614526ms] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958584357748736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:25.937 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958584357748736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:25.944 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=117] [table=t] [index=idx3] [2024/05/23 09:16:25.989 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=108] [neededSchemaVersion=109] ["start time"=7.208519ms] [gotSchemaVersion=109] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:26.030 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=109] [2024/05/23 09:16:26.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=109] ["take time"=54.040845ms] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:26.128 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:26.135 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=117] [physicalTableID=112] [startKey=7480000000000000705f69ffff000000000004] [endKey=7480000000000000705f69ffff000000000004ff] [2024/05/23 09:16:26.201 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=117] [2024/05/23 09:16:26.409 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958585600573440, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:26.462 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=117] [2024/05/23 09:16:26.462 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958585600573440, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000705f69ffff000000000004,EndKey:7480000000000000705f69ffff000000000004ff,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/23 09:16:26.486 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f69ffff000000000004] ["end key"=7480000000000000705f69ffff000000000004ff] [2024/05/23 09:16:26.486 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f69ffff000000000004] [endKey=7480000000000000705f69ffff000000000004ff] [2024/05/23 09:16:26.493 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f69ffff000000000004ff] ["current end key"=7480000000000000705f69ffff00000000000400] [2024/05/23 09:16:26.493 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=117] [2024/05/23 09:16:26.494 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=117] [2024/05/23 09:16:26.494 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=117] [2024/05/23 09:16:26.508 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f69ffff000000000004, 7480000000000000705f69ffff00000000000400), jobID: 117"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000705f69ffff0000000000040000] ["take time"=14.32421ms] [2024/05/23 09:16:26.508 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=117] [2024/05/23 09:16:26.508 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000705f69ffff000000000004] [2024/05/23 09:16:26.508 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:27.127 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.614814049\n# Parse_time: 0\n# Compile_time: 0.005137664\n# Rewrite_time: 0.000842041\n# Optimize_time: 0.001141529\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003093\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjA3LjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikdUwBtGVEQCTE0LjARQigyCTExXzYJMAkxMAGNPHRhYmxlOlRBQkxFUwk4MTgJkwQ1OTKTADQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTk3LjdtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV94QL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMilaEwVSBDYwHVAMMnDwbz5PAAhAAOFCTwAACA1MADgNlwQ2MDKXAHwyYg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:16:27.141 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:16:27.300 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=109] [neededSchemaVersion=110] ["start time"=28.406426ms] [gotSchemaVersion=110] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:27.326 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=110] [2024/05/23 09:16:27.328 +00:00] [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"=56.962914ms] [job="ID:117, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958585600573440, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:27.414 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=117] [tableID=112] [indexIDs="[9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:16:27.439 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="add index"] [2024/05/23 09:16:27.444 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=1] [job="ID:117, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:20.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958585600573440, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:27.540 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=117] [elementID=1] [startKey=7480000000000000705f69ffff000000000004] [endKey=7480000000000000705f69ffff000000000005] [2024/05/23 09:16:27.578 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/23 09:16:27.578 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:27.580 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 7.234874405\n# Parse_time: 0.001009\n# Compile_time: 0.002131924\n# Rewrite_time: 0.000020154\n# Optimize_time: 0.000277902\n# Wait_TS: 0.000146816\n# DB: test\n# Is_internal: false\n# Digest: cb2c7dc50aca7a192aabf69ad92d0794e7456073ef8bd519e2b6fcbb8b676d06\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx3(e(5));"] [2024/05/23 09:16:27.626 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:16:27.641 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:16:27.645 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx\""] [idxCnt=3] [2024/05/23 09:16:27.664 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:16:27.668 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx1\""] [idxCnt=3] [2024/05/23 09:16:27.687 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:16:27.695 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx2\""] [idxCnt=3] [2024/05/23 09:16:27.707 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:16:27.711 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx3\""] [idxCnt=3] [2024/05/23 09:16:27.776 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=110] [cur_db=test] [sql="drop table if exists t;"] [user=] [2024/05/23 09:16:27.807 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:16:27.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:16:27.807 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:16:27.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"] [2024/05/23 09:16:27.978 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=118] [conn=1] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:27.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:28.056 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=110] [neededSchemaVersion=111] ["start time"=1.83115ms] [gotSchemaVersion=111] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:16:28.072 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=111] [2024/05/23 09:16:28.090 +00:00] [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"=36.404565ms] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:16:27.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:28.255 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=118] [conn=1] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:27.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:28.323 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=111] [neededSchemaVersion=112] ["start time"=450.739µs] [gotSchemaVersion=112] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:16:28.348 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=112] [2024/05/23 09:16:28.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=112] ["take time"=29.24777ms] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:27.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:28.468 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=118] [conn=1] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:27.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:28.671 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=112] [neededSchemaVersion=113] ["start time"=477.491µs] [gotSchemaVersion=113] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:16:28.753 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=113] [2024/05/23 09:16:28.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=113] ["take time"=144.394508ms] [job="ID:118, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-23 09:16:27.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:29.003 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=118] [tableIDs="[112]"] [comment="drop table: table ID"] [2024/05/23 09:16:29.016 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="drop table"] [2024/05/23 09:16:29.022 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=118] [conn=1] [job="ID:118, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-23 09:16:27.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:29.152 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=1] [startKey=748000000000000070] [endKey=748000000000000071] [2024/05/23 09:16:29.271 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/23 09:16:29.271 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:29.281 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.5060277050000002\n# Parse_time: 0.000453891\n# Compile_time: 0.001100652\n# Rewrite_time: 0.000025939\n# Optimize_time: 0.000255966\n# Wait_TS: 0.000145843\n# DB: test\n# Is_internal: false\n# Digest: 293123a5976f55d0b9cd979cd8b74ca6ac90429498766df23f5b51fcc0399f24\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ndrop table if exists t;"] [2024/05/23 09:16:29.286 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=113] [cur_db=test] [sql="create table t (a int, b char(10), c tinyint, d int as (a + c), e bigint as (d - a), primary key(b, a) clustered);"] [user=] [2024/05/23 09:16:29.397 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-23 09:16:29.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:16:29.397 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-23 09:16:29.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b char(10), c tinyint, d int as (a + c), e bigint as (d - a), primary key(b, a) clustered);"] [2024/05/23 09:16:29.489 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=120] [conn=1] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:29.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:29.712 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=113] [neededSchemaVersion=114] ["start time"=13.878337ms] [gotSchemaVersion=114] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:16:29.784 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=114] [2024/05/23 09:16:29.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=114] ["take time"=95.527043ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-23 09:16:29.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:29.950 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=120] [conn=1] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:29.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:16:30.053 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/23 09:16:30.054 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:30.056 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.773918707\n# Parse_time: 0.002508328\n# Compile_time: 0.002354517\n# Rewrite_time: 0.000013682\n# Optimize_time: 0.000255966\n# Wait_TS: 0.000140736\n# DB: test\n# Is_internal: false\n# Digest: 976565f53e30147855a5e5fe4a4d032586f45a8b814047abade5d13ff0c58c2e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncreate table t (a int, b char(10), c tinyint, d int as (a + c), e bigint as (d - a), primary key(b, a) clustered);"] [2024/05/23 09:16:30.160 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=114] [cur_db=test] [sql="alter table t add index idx(d);"] [user=] [2024/05/23 09:16:30.224 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:16:30.224 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:121, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx(d);"] [2024/05/23 09:16:30.368 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:30.371 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"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/23 09:16:30.471 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=114] [neededSchemaVersion=115] ["start time"=7.138594ms] [gotSchemaVersion=115] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:30.489 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=115] [2024/05/23 09:16:30.491 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=28.463076ms] [job="ID:121, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:30.620 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:30.663 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=115] [neededSchemaVersion=116] ["start time"=5.773554ms] [gotSchemaVersion=116] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:30.695 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=116] [2024/05/23 09:16:30.702 +00:00] [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"=46.177364ms] [job="ID:121, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:30.830 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:30.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=116] [neededSchemaVersion=117] ["start time"=9.974867ms] [gotSchemaVersion=117] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:30.967 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=117] [2024/05/23 09:16:30.969 +00:00] [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"=50.736673ms] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:31.108 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:31.112 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=121] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:16:31.116 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=121] [physicalTableID=119] [startKey=7480000000000000775f72013100000000000000f8038000000000000001] [endKey=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:16:31.183 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/23 09:16:31.293 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958586905264128, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:31.298 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=121] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:16:31.441 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/121] [2024/05/23 09:16:31.913 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.469625594\n# Parse_time: 0\n# Compile_time: 0.004370108\n# Rewrite_time: 0.000801938\n# Optimize_time: 0.001089381\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002972\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NDYzLjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkZUwwyLjdtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQw1NC40GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDU0LjRtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkRUgw2Mi43GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwgzLjMdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:31.914 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=119] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:16:32.216 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=10] [2024/05/23 09:16:32.216 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:16:32.725 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:16:32.725 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:16:32.729 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=10] [curr-step=init] [next-step=read-index] [2024/05/23 09:16:32.736 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:16:33.187 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=10] [type=backfill] [remaining-slots=12] [2024/05/23 09:16:33.533 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=10] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:16:33.536 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=121] [2024/05/23 09:16:33.541 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:16:33.606 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:16:33.607 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=121] [indexIDs="[2]"] [2024/05/23 09:16:33.617 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=10] [subtask-id=10] [jobID=121] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:16:33.618 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:16:33.618 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:16:33.618 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:16:33.618 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:16:33.618 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f72013100000000000000f8038000000000000001] ["end key"=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:16:33.619 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=10] [subtask-id=10] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000775f72013100000000000000f8038000000000000001, endKey=7480000000000000775f72013300000000000000f803800000000000000300"] [2024/05/23 09:16:33.624 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000002038000000000000002013100000000000000f8038000000000000001] [idxVal=007d01] [2024/05/23 09:16:33.624 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=10] [subtask-id=10] [id=1] [2024/05/23 09:16:33.624 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000002038000000000000004013200000000000000f8038000000000000002] [idxVal=007d01] [2024/05/23 09:16:33.624 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000002038000000000000006013300000000000000f8038000000000000003] [idxVal=007d01] [2024/05/23 09:16:33.625 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:16:33.711 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:16:33.715 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=121] [] [2024/05/23 09:16:33.715 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=10] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=182.236506ms] [] [2024/05/23 09:16:33.752 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:16:34.033 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=10] [type=backfill] [2024/05/23 09:16:34.088 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:34.228 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=10] [2024/05/23 09:16:34.274 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:16:34.274 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=10] [2024/05/23 09:16:34.447 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:16:34.566 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.475840393\n# Parse_time: 0\n# Compile_time: 0.004423705\n# Rewrite_time: 0.000721944\n# Optimize_time: 0.001013095\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002913\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NDY5LjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkdUwBtGVEQCTE0LjARQigyCTExXzYJMAkxMAGNPHRhYmxlOlRBQkxFUwk4MTgRkwgzLjIZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDYzLjJtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV94QL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSlaEw1SADkZUAwycPBvPk8ACEAA4UJPAAAIDUwAOBWXCDkuNx1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:16:34.622 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=117] [neededSchemaVersion=118] ["start time"=6.275129ms] [gotSchemaVersion=118] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:34.656 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=118] [2024/05/23 09:16:34.657 +00:00] [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"=58.739592ms] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958586905264128, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:34.811 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958586905264128, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:34.815 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=121] [table=t] [index=idx] [2024/05/23 09:16:34.861 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=118] [neededSchemaVersion=119] ["start time"=6.448918ms] [gotSchemaVersion=119] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:34.879 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=119] [2024/05/23 09:16:34.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=119] ["take time"=58.657506ms] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:35.099 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:35.103 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=121] [physicalTableID=119] [startKey=7480000000000000775f69ffff000000000002] [endKey=7480000000000000775f69ffff000000000002ff] [2024/05/23 09:16:35.199 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/23 09:16:35.346 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958587951480832, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:35.406 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=121] [2024/05/23 09:16:35.406 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958587951480832, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000775f69ffff000000000002,EndKey:7480000000000000775f69ffff000000000002ff,First:false,PhysicalTableID:119,Ingest mode:false"] [2024/05/23 09:16:35.446 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f69ffff000000000002] ["end key"=7480000000000000775f69ffff000000000002ff] [2024/05/23 09:16:35.447 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000775f69ffff000000000002] [endKey=7480000000000000775f69ffff000000000002ff] [2024/05/23 09:16:35.473 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=119] ["end key"=7480000000000000775f69ffff000000000002ff] ["current end key"=7480000000000000775f69ffff00000000000200] [2024/05/23 09:16:35.473 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=121] [2024/05/23 09:16:35.474 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 119, range: [7480000000000000775f69ffff000000000002, 7480000000000000775f69ffff00000000000200), jobID: 121"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000775f69ffff0000000000020000] ["take time"=986.327µs] [2024/05/23 09:16:35.475 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=121] [2024/05/23 09:16:35.475 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=121] [2024/05/23 09:16:35.475 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=121] [2024/05/23 09:16:35.475 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000775f69ffff000000000002] [2024/05/23 09:16:35.475 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:35.900 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.42149133\n# Parse_time: 0\n# Compile_time: 0.010180603\n# Rewrite_time: 0.006768219\n# Optimize_time: 0.000990525\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002893\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NDA5LjRtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkZUww4LjZtGVMQCTE0LjARRHgyCTExXzYJMAkxMDAwMAl0YWJsZTpUQUJMRVMJODE4EZUIMi43GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDAyLjdtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkVUgg4LjYZUgwycPBvPlEACEAA4UJRAAAIDU4AOBVHCDkuNB1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:16:35.904 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:16:35.979 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=119] [neededSchemaVersion=120] ["start time"=7.18585ms] [gotSchemaVersion=120] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:35.995 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=120] [2024/05/23 09:16:35.995 +00:00] [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"=24.753281ms] [job="ID:121, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958587951480832, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:36.137 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=121] [tableID=119] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:16:36.155 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="add index"] [2024/05/23 09:16:36.159 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=121] [conn=1] [job="ID:121, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:30.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958587951480832, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:36.208 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=1] [startKey=7480000000000000775f69ffff000000000002] [endKey=7480000000000000775f69ffff000000000003] [2024/05/23 09:16:36.295 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/23 09:16:36.295 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:36.297 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 6.151723442\n# Parse_time: 0.013283317\n# Compile_time: 0.001780224\n# Rewrite_time: 0.000021813\n# Optimize_time: 0.000255966\n# Wait_TS: 0.000153578\n# DB: test\n# Is_internal: false\n# Digest: 36101c50b1c81b4c8a5e69d209777ba5186e328ac50452584c223a1570633163\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx(d);"] [2024/05/23 09:16:36.301 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=120] [cur_db=test] [sql="alter table t add index idx1(b(2), d);"] [user=] [2024/05/23 09:16:36.337 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:16:36.337 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx1(b(2), d);"] [2024/05/23 09:16:36.425 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:36.428 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"idx1\",\"L\":\"idx1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"b\",\"L\":\"b\"},\"offset\":1,\"length\":2},{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"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/23 09:16:36.477 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=120] [neededSchemaVersion=121] ["start time"=6.448203ms] [gotSchemaVersion=121] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:36.492 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=121] [2024/05/23 09:16:36.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=121] ["take time"=24.436573ms] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:36.625 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:36.671 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=121] [neededSchemaVersion=122] ["start time"=6.862951ms] [gotSchemaVersion=122] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:36.728 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=122] [2024/05/23 09:16:36.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=122] ["take time"=72.785865ms] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:36.939 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:36.983 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=122] [neededSchemaVersion=123] ["start time"=5.151518ms] [gotSchemaVersion=123] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:37.006 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=123] [2024/05/23 09:16:37.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=123] ["take time"=31.968756ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:37.186 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:37.205 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:16:37.209 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=119] [startKey=7480000000000000775f72013100000000000000f8038000000000000001] [endKey=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:16:37.276 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=122] [2024/05/23 09:16:37.334 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958588502507520, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:37.338 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:16:37.458 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/122] [2024/05/23 09:16:37.881 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.420065671\n# Parse_time: 0\n# Compile_time: 0.004085745\n# Rewrite_time: 0.000803209\n# Optimize_time: 0.001006336\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002827\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6Mzk1LjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkuUwAEMW0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VDDg5LjMZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6Mzg5LjNtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkRUgw5NS4xGVIMMnDwbz5RAAhAAOFCUQAACA1OADkdRwA3HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:16:37.881 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=119] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:16:38.281 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=11] [2024/05/23 09:16:38.282 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:16:38.795 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:16:38.795 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:16:38.799 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=11] [curr-step=init] [next-step=read-index] [2024/05/23 09:16:38.804 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:16:39.238 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=11] [type=backfill] [remaining-slots=12] [2024/05/23 09:16:39.608 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=11] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:16:39.628 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=122] [2024/05/23 09:16:39.633 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:16:39.751 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:16:39.752 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=122] [indexIDs="[3]"] [2024/05/23 09:16:39.821 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=11] [subtask-id=11] [jobID=122] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:16:39.821 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:16:39.821 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:16:39.821 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:16:39.821 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:16:39.822 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f72013100000000000000f8038000000000000001] ["end key"=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:16:39.822 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=11] [subtask-id=11] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000775f72013100000000000000f8038000000000000001, endKey=7480000000000000775f72013300000000000000f803800000000000000300"] [2024/05/23 09:16:39.835 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=11] [subtask-id=11] [id=1] [2024/05/23 09:16:39.836 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000003013100000000000000f8038000000000000002013100000000000000f8038000000000000001] [idxVal=007d01] [2024/05/23 09:16:39.837 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000003013200000000000000f8038000000000000004013200000000000000f8038000000000000002] [idxVal=007d01] [2024/05/23 09:16:39.837 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000003013300000000000000f8038000000000000006013300000000000000f8038000000000000003] [idxVal=007d01] [2024/05/23 09:16:39.837 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:16:40.108 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:16:40.159 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=122] [] [2024/05/23 09:16:40.159 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=11] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=550.395168ms] [] [2024/05/23 09:16:40.341 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:16:40.466 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=11] [type=backfill] [2024/05/23 09:16:40.716 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:40.804 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=11] [2024/05/23 09:16:40.867 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:16:40.867 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=11] [2024/05/23 09:16:41.084 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:16:41.469 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.749528469\n# Parse_time: 0\n# Compile_time: 0.004213272\n# Rewrite_time: 0.000835997\n# Optimize_time: 0.001007623\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002734\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NzQwLjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkVUxAzOS44bRlTEAkxNC4wEUQoMgkxMV82CTAJMTABjzx0YWJsZTpUQUJMRVMJODE4DZUMMzMuNBlCNDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NzMzLjRtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkVUgg5LjgZUgwycPBvPlEACEAA4UJRAAAIDU4AOBFHDDQwLjUdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:41.562 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=123] [neededSchemaVersion=124] ["start time"=7.282378ms] [gotSchemaVersion=124] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:41.615 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=124] [2024/05/23 09:16:41.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=124] ["take time"=62.688597ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958588502507520, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:41.747 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958588502507520, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:41.760 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=122] [table=t] [index=idx1] [2024/05/23 09:16:41.837 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=124] [neededSchemaVersion=125] ["start time"=13.691857ms] [gotSchemaVersion=125] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:41.857 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=125] [2024/05/23 09:16:41.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=125] ["take time"=34.982978ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:42.014 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:42.019 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=119] [startKey=7480000000000000775f69ffff000000000003] [endKey=7480000000000000775f69ffff000000000003ff] [2024/05/23 09:16:42.078 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=122] [2024/05/23 09:16:42.278 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958589764468736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:42.302 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=122] [2024/05/23 09:16:42.302 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958589764468736, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000775f69ffff000000000003,EndKey:7480000000000000775f69ffff000000000003ff,First:false,PhysicalTableID:119,Ingest mode:false"] [2024/05/23 09:16:42.324 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f69ffff000000000003] ["end key"=7480000000000000775f69ffff000000000003ff] [2024/05/23 09:16:42.324 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000775f69ffff000000000003] [endKey=7480000000000000775f69ffff000000000003ff] [2024/05/23 09:16:42.331 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=119] ["end key"=7480000000000000775f69ffff000000000003ff] ["current end key"=7480000000000000775f69ffff00000000000300] [2024/05/23 09:16:42.331 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=122] [2024/05/23 09:16:42.332 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=122] [2024/05/23 09:16:42.332 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=122] [2024/05/23 09:16:42.332 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 119, range: [7480000000000000775f69ffff000000000003, 7480000000000000775f69ffff00000000000300), jobID: 122"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000775f69ffff0000000000030000] ["take time"=926.15µs] [2024/05/23 09:16:42.333 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=122] [2024/05/23 09:16:42.333 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000775f69ffff000000000003] [2024/05/23 09:16:42.333 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:43.102 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.7663789\n# Parse_time: 0\n# Compile_time: 0.005171571\n# Rewrite_time: 0.001528448\n# Optimize_time: 0.001154319\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003106\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NzU5LjJtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkZUww4LjVtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwyMy42GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NzIzLjZtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkRUgw1OC41GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwg5LjIdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:43.107 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:16:43.189 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=125] [neededSchemaVersion=126] ["start time"=7.023954ms] [gotSchemaVersion=126] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:43.206 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=126] [2024/05/23 09:16:43.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=126] ["take time"=24.598242ms] [job="ID:122, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958589764468736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:43.317 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=122] [tableID=119] [indexIDs="[9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:16:43.346 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add index"] [2024/05/23 09:16:43.351 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=122] [conn=1] [job="ID:122, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:36.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958589764468736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:43.443 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=122] [elementID=1] [startKey=7480000000000000775f69ffff000000000003] [endKey=7480000000000000775f69ffff000000000004] [2024/05/23 09:16:43.633 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=122] [2024/05/23 09:16:43.634 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:43.644 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 7.346277599\n# Parse_time: 0.000842159\n# Compile_time: 0.001855121\n# Rewrite_time: 0.000019756\n# Optimize_time: 0.000255966\n# Wait_TS: 0.00013466\n# DB: test\n# Is_internal: false\n# Digest: 5487ad3c4e01f6d243731081b527041cba425d03dfa8aefcb27d78a9baa8059b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx1(b(2), d);"] [2024/05/23 09:16:43.654 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=126] [cur_db=test] [sql="alter table t add index idx2(d, c);"] [user=] [2024/05/23 09:16:43.752 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:16:43.753 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:123, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx2(d, c);"] [2024/05/23 09:16:43.824 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:43.828 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"idx2\",\"L\":\"idx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"length\":-1},{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:16:43.878 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=126] [neededSchemaVersion=127] ["start time"=7.162437ms] [gotSchemaVersion=127] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:43.904 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=127] [2024/05/23 09:16: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=127] ["take time"=40.410481ms] [job="ID:123, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:44.035 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:44.116 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=127] [neededSchemaVersion=128] ["start time"=7.326903ms] [gotSchemaVersion=128] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:44.138 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=128] [2024/05/23 09:16:44.146 +00:00] [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"=38.543863ms] [job="ID:123, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:44.355 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:44.466 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=128] [neededSchemaVersion=129] ["start time"=7.445775ms] [gotSchemaVersion=129] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:44.506 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=129] [2024/05/23 09:16:44.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=129] ["take time"=50.217885ms] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:44.727 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:44.732 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:16:44.736 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=123] [physicalTableID=119] [startKey=7480000000000000775f72013100000000000000f8038000000000000001] [endKey=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:16:44.800 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/23 09:16:44.934 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958590475665408, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:44.954 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:16:45.062 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/123] [2024/05/23 09:16:45.638 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.573031967\n# Parse_time: 0\n# Compile_time: 0.015548598\n# Rewrite_time: 0.000826151\n# Optimize_time: 0.012355225\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002891\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NTU1LjZtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkZUww0LjhtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQw0OC41GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTQ4LjVtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkRUgw1NC44GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwg1LjYdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:45.638 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=119] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:16:46.038 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=12] [2024/05/23 09:16:46.038 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:16:46.548 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:16:46.548 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:16:46.551 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=12] [curr-step=init] [next-step=read-index] [2024/05/23 09:16:46.556 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:16:47.009 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=12] [type=backfill] [remaining-slots=12] [2024/05/23 09:16:47.375 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=12] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:16:47.379 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=123] [2024/05/23 09:16:47.491 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:16:47.688 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449958591202328576\n# Query_time: 0.315222327\n# Parse_time: 0\n# Compile_time: 0.138345723\n# Rewrite_time: 0.003901372\n# Optimize_time: 0.131469841\n# Wait_TS: 0.000235342\n# Cop_time: 0.001827038 Process_time: 0.005 Request_count: 2\n# Is_internal: true\n# Digest: fcf44123299f755d6f32810bd12ccbfc68f2516d36ae5e15d9b4e31cc1d05e8d\n# Stats: tidb_ddl_job:pseudo[10000;0]\n# Num_cop_tasks: 2\n# Cop_proc_avg: 0.0025 Cop_proc_p90: 0.003 Cop_proc_max: 0.003 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 1978\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('yBSoMAkzXzEzCTAJMy40NglteXNxbC50aWRiX2RkbF9qb2Iuam9iX21ldGEsIEodAPBGcHJvY2Vzc2luZwkwCXRpbWU6ODAuNm1zLCBsb29wczoxLCBDb25jdXJyZW5jeTpPRkYJMS4zNiBLQglOL0EKMQkxNF8xNAlmfgAZYRg6ZGVzYywgSoUAAaIEaWQdgQA1HYEcCTAgQnl0ZXMRCBwKMgkxN18yOBHyVGlubmVyIGpvaW4sIGVxdWFsOltlcShiZgAB0CBsdW1uIzE1KV0dcwAzHXN0LCBidWlsZF9oYXNoX3RhYmxlOnt0b3RhbDozMS43ASkQZmV0Y2gVDgUuDDowc30RpBEIJAozCTMxXzQxKEIBUAApEbNAZGF0YTpTZWxlY3Rpb25fNDARiAQzMTqIAGhjb3BfdGFzazoge251bTogMSwgbWF4OiAzLjQBhyFdNF9rZXlzOiAwLCB0b3RfARIEOiAFzWRjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMBHgAVoIX2R1BRocbjogOTPCtXMFYShfZGlzdHNxbF9jbzn8SCAxfSwgcnBjX2luZm86e0NvcDoBlQxfcnBjQSclIQBfRUMsMy4yOW1zfX0JMTg1Lb1BLQg0CTEB7AQxX00uUG5vdChpc3RydWVfd2l0aF9udWxsKEq5ARRyZW9yZykhPgx0aWt2BbYEOnsNaQQwMSEISawMMH0sIAEXIF9kZXRhaWw6ICm1JRQIZXNzCZwhHAB9AY8BBBwKNQk0NF8zOQWUHDY2NjYuNjcJKfEuQwPwPiwgcmFuZ2U6Wy1pbmYsMTIzKSwgKDEyMywraW5mXSwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCWFZdrgAAYwBBDAKMwk2XzI5KFByb2JlAfE4NjQwMAlncm91cCBieTpDUbpALCBmdW5jczpmaXJzdHJvdygVGggpLT4VDFFWDDU0LjI5JlQxLCBwYXJ0aWFsX3dvcmtlcjp7d2FsLbocNTMuNDM5NzcFMC79AQg1LCBFLkGGTWs0d2FpdDoxNzUuMTI3OTSFNEGCGGV4ZWM6MHNJjyGPBSQQMjM3NDZl10HAHDM2LjI1ODA2BWcIcDk1LhEAFH0sIGZpblaeABg0LjE3NDUxJfRengABqgRvdAmeHDYxNS40NTPCQdcIdG90CZwQMy41ODIVEwmiHDkwLjU5OTgzZTkBohg1My45Mzk4SV8Boh0ROa9B0gAzYb4lqEHQBGVxOYwELCBBKwgpLCABGQRpc0XfNZ1N0AxtZTozJTtJwwwxCTM4kfBhMxA1CTZfMyHJCDgwMF0JSiUDYfkAZaXJUmMFIHNjaGVtYV9pZGHhRiQGRfQJHklaCG1pbhWsBDgpLlUCBDEJJTMEMzUuVQIAMm5VAhwzNC4yOTA2NSVdXrcBADFJMUlVoWcQNzE0NjhBtzm5GDAuMDQyMDCF+wEWBYkkMTYyLjAzMzA1OQEtIbwgMzIuNDc0NDIzAREhvB0Ral4CHDM1Ljg2MTQ5peFepwAuXgIYNzEuNzY5wjJdAhA0LjgxMRUTDaEYNi40NzgyMQVZBaEUNC4wMzI2Xf8ZEVldADbBPAwzNgkwKf0AZME1JEhhc2hBZ2dfMzExiAAypWzxrwQyLKH3qSMAIKGe2TMIMi44RWlBKU40BmWMwjQGCDQ4LmlMBG1h/jYGDDIuNzXFNgwyMDIg6fNhAwA3YQMAMaWi/gUDzgUDSi0DFq8IfRUAOCWNNuMFCDIuNCXwadiWmwYEMm09/xg4CTQzXzM0BfkEMTBh/2WlOpkGensGYa12mAAgCU4vQQlOL0EK')\n# Plan_digest: a5eb10be72fc182d71d1398cf4167569003e09dc35a22377f88b671f6cc286d5\n# Binary_plan: tidb_decode_binary_plan('rBfwSQqnFwoNUHJvamVjdGlvbl8xMxKOFgoHU29ydF8xNBKXFQoLSGFzaEpvaW5fMjgSlAUKDlRhYmxlUmVhZGVyXzQxEvACCgxTZWxlCUAYNDASuAEKEQkk8DxhbmdlU2Nhbl8zOSEAAAAAQJUmQSmrqqqqqgq6QDgCQAJKFwoVCgVteXNxbBIMdGlkYl9kZGxfam9iUjxyAT3wXjpbLWluZiwxMjMpLCAoMTIzLCtpbmZdLCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qIHRpa3ZfdGFzazp7dGltZTozLjAxbXMsIGxvb3BzOjB9cP//////AQMEAXgBBgUBAAEFpSyAMSdBKUHuNReSpgsFpVhSL25vdChpc3RydWVfd2l0aF9udWxsKAW2BC50HbUsLnJlb3JnKSlqSHRpdn8ABCwgAZZcX2RldGFpbDoge3RvdGFsX3Byb2Nlc3NfARwUOiAzbXN9VqcALBoBASHj7/EctL7oQBmqKAFAAVIRZGF0YTpTPY4EWhQFTgwzMS4zOQAYMWK+AWNvcCkhRCB7bnVtOiAxLCBtYXg6IDMuNAEpAYwwX2tleXM6IDAsIHRvdAWeBZaILCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFWghfZHUFGhxuOiA5M8K1cwVhyF9kaXN0c3FsX2NvbmN1cnJlbmN5OiAxfSwgcnBjX2luZm86e0NvcDp7bnVtX3JwYzoxLAF+BGFsKRYkMy4yOW1zfX1wuS64ARASzQ4KCkGnIEFnZ18yORL8Ci6TAhAzMBKCChkgEDM1Et0FNsYCEDM2ErkDHSIUMRKbAQoQRcQMRnVsbEnDADRFHhTw7zBBKQABARCIw0AwAXbFAgAevqcCDDIuNDchfgRsb4KnAggoZTENiQRAvw2JPFKUAWdyb3VwIGJ5Om15c3E6ngIh0xxlc3NpbmcsIEofACBzY2hlbWFfaWQhqUY+ABB0YWJsZQkeJGZ1bmNzOm1pbihKKABEam9iX2lkKS0+Q29sdW1uIzE4Rg8DPucAjg8DADJiDwMgId7d3d0dPvdAKZgpD2EOBA9kYQ4ISGFzRRgEMzFtDAAyRUQALC1lCDJiwWIMAwwyLjg2IY8hOk4NAwAyAR3CDQMMNDguMv4PA20PDDIuNzVlDwDKLg8DJREIrWz4QhEBAIT+IAK+IAJVBF0QADUthwgzNS4lQEnsWDJiyAJwYXJ0aWFsX3dvcmtlcjp7d2FscfcYNC4yOTA2NYXELjoEHDUsIHRhc2tfgcOJKjxfd2FpdDoxMzEuNzcxNDY4IaOBvzBleGVjOjMwLjA0MjAwheMBFqUdJDE2Mi4wMzMwNTkBLaEGADNBogw0NDIzAREIcDk1LhEAFH0sIGZpblanABg1Ljg2MTQ5ZcRepwABswBvDacUNzEuNzY5RQ0BFAWkEDQuODExFRMNoRg2LjQ3ODIxBVkFoRg0LjAzMjY2JUIFoRkRWjYGSRYESP5NFggAuUBlJcXdCGVxKDGrCDUsIOFvCCksIMn2xewVHQwpKVoSBZMAM2UZKbwMMXD8Av1GJBoBAiFEREREJGM+bAAIOGdyjZ8VUQAsjU4cZmlyc3Ryb3cda5lDUTMENTQuMwIIMWLAajMCHDUzLjQzOTc3JSJejAEAMMnbSTMcNzUuMTI3OTQF2jWPBDBzCSQF9gEkFDIzNzQ2NUEZJYkUNi4yNTgwPYkZEWoqAiA1NC4xNzQ1MTEBSF6eAC4qAhg2MTUuNDUzVRhFKwwzLjU4iUsIdG90DaIcOTAuNTk5ODNFuwGiHDUzLjkzOTgwBWtBKx0RXisCGEV1TbsyYgUqCAloAUABUjxpbm5lciBqb2luLCBlcXVhbDpbZXEoYgUGBCwgNecEKV1t9gg4MC4Fmk06BGI3FjAIEGhhc2hfxWMAOhYNCQ6yCEXuEGZldGNoFQ4FLiQ6MHN9IVZyNy7HQqMAAD1KjQChvsn4FDpkZXNjLE79Bsm2GaQl4A2kGCGq5lvFZ2M+DgFOYwcBRxBtZXRhLE5kABmIGWhFbA1oDGIPQ28mFAlIT0ZGcPQKeP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:16:47.783 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:16:47.784 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=123] [indexIDs="[4]"] [2024/05/23 09:16:47.808 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=12] [subtask-id=12] [jobID=123] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:16:47.809 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:16:47.809 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:16:47.809 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:16:47.809 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:16:47.809 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f72013100000000000000f8038000000000000001] ["end key"=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:16:47.827 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=12] [subtask-id=12] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000775f72013100000000000000f8038000000000000001, endKey=7480000000000000775f72013300000000000000f803800000000000000300"] [2024/05/23 09:16:47.831 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000004038000000000000002038000000000000001013100000000000000f8038000000000000001] [idxVal=007d01] [2024/05/23 09:16:47.832 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000004038000000000000004038000000000000002013200000000000000f8038000000000000002] [idxVal=007d01] [2024/05/23 09:16:47.833 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000004038000000000000006038000000000000003013300000000000000f8038000000000000003] [idxVal=007d01] [2024/05/23 09:16:47.834 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=12] [subtask-id=12] [id=1] [2024/05/23 09:16:47.834 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:16:48.065 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:16:48.069 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=123] [] [2024/05/23 09:16:48.069 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=12] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=693.901597ms] [] [2024/05/23 09:16:48.084 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:16:48.384 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=12] [type=backfill] [2024/05/23 09:16:48.531 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:48.557 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=12] [2024/05/23 09:16:48.589 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:16:48.589 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=12] [2024/05/23 09:16:48.724 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:16:49.178 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.644727966\n# Parse_time: 0\n# Compile_time: 0.026431684\n# Rewrite_time: 0.00080735\n# Optimize_time: 0.001035462\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003791\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjE2LjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkZUww1LjhtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgRlQAwGUA0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZAoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWoc2NoZW1hEgZUQUJMRVNaE3RpbWU6NjEwbXMsIGxvb3BzOjNwop9geP///wkCBAEhAVMMAEzdQAldeEC/QDABOAFAAVISZXEoQ29sdW1uIzIyLCAxMTkpWhUNUAg1LjgZUgwycPBvPlEACEAA4UJRAAAIDU4AOBVHCDYuNR1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:16:49.223 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=129] [neededSchemaVersion=130] ["start time"=7.34569ms] [gotSchemaVersion=130] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:49.262 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=130] [2024/05/23 09:16:49.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=130] ["take time"=47.799769ms] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958590475665408, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:49.410 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958590475665408, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:49.421 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=123] [table=t] [index=idx2] [2024/05/23 09:16:49.586 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=130] [neededSchemaVersion=131] ["start time"=15.950626ms] [gotSchemaVersion=131] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:49.629 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=131] [2024/05/23 09:16:49.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=131] ["take time"=59.829118ms] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:49.801 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:49.806 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=123] [physicalTableID=119] [startKey=7480000000000000775f69ffff000000000004] [endKey=7480000000000000775f69ffff000000000004ff] [2024/05/23 09:16:49.910 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/23 09:16:50.019 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958591805521920, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:50.051 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=123] [2024/05/23 09:16:50.051 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958591805521920, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000775f69ffff000000000004,EndKey:7480000000000000775f69ffff000000000004ff,First:false,PhysicalTableID:119,Ingest mode:false"] [2024/05/23 09:16:50.065 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f69ffff000000000004] ["end key"=7480000000000000775f69ffff000000000004ff] [2024/05/23 09:16:50.065 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000775f69ffff000000000004] [endKey=7480000000000000775f69ffff000000000004ff] [2024/05/23 09:16:50.072 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=119] ["end key"=7480000000000000775f69ffff000000000004ff] ["current end key"=7480000000000000775f69ffff00000000000400] [2024/05/23 09:16:50.072 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=123] [2024/05/23 09:16:50.073 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 119, range: [7480000000000000775f69ffff000000000004, 7480000000000000775f69ffff00000000000400), jobID: 123"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000775f69ffff0000000000040000] ["take time"=897.62µs] [2024/05/23 09:16:50.074 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=123] [2024/05/23 09:16:50.074 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=123] [2024/05/23 09:16:50.074 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=123] [2024/05/23 09:16:50.074 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000775f69ffff000000000004] [2024/05/23 09:16:50.074 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:50.750 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.673869634\n# Parse_time: 0\n# Compile_time: 0.00436643\n# Rewrite_time: 0.000971777\n# Optimize_time: 0.001089537\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003149\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwWDAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjY3LjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCTgwMDAJZXEoDUwcMjIsIDExOSkZUww2LjhtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgRlQAxGUA0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZAoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWoc2NoZW1hEgZUQUJMRVNaE3RpbWU6NjYxbXMsIGxvb3BzOjNwop9geP///wkCBAEhAVMMAEzdQAldeEC/QDABOAFAAVISZXEoQ29sdW1uIzIyLCAxMTkpWhUNUAg2LjgZUgwycPBvPlEACEAA4UJRAAAIDU4AOBVHCDcuNR1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:16:50.755 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:16:50.849 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=131] [neededSchemaVersion=132] ["start time"=7.397337ms] [gotSchemaVersion=132] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:50.911 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=132] [2024/05/23 09:16:50.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=132] ["take time"=81.376996ms] [job="ID:123, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958591805521920, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:51.097 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=123] [tableID=119] [indexIDs="[9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:16:51.110 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="add index"] [2024/05/23 09:16:51.166 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=1] [job="ID:123, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:43.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958591805521920, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:51.179 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=123] [elementID=1] [startKey=7480000000000000775f69ffff000000000004] [endKey=7480000000000000775f69ffff000000000005] [2024/05/23 09:16:51.370 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/23 09:16:51.371 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:51.373 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 7.727576066\n# Parse_time: 0.000748354\n# Compile_time: 0.007985433\n# Rewrite_time: 0.000020669\n# Optimize_time: 0.000255966\n# Wait_TS: 0.000147728\n# DB: test\n# Is_internal: false\n# Digest: 4afb961f5ad6e815ab9cddef29faa3dd4b7249c27365d8ef6183122ec8c72786\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx2(d, c);"] [2024/05/23 09:16:51.376 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=132] [cur_db=test] [sql="alter table t add index idx3(e);"] [user=] [2024/05/23 09:16:51.466 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:16:51.466 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:124, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx3(e);"] [2024/05/23 09:16:51.663 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:51.666 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":5,\"idx_name\":{\"O\":\"idx3\",\"L\":\"idx3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"e\",\"L\":\"e\"},\"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/23 09:16:51.748 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=132] [neededSchemaVersion=133] ["start time"=7.194562ms] [gotSchemaVersion=133] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:51.770 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=133] [2024/05/23 09:16:51.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=133] ["take time"=32.58219ms] [job="ID:124, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:51.937 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:52.123 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=133] [neededSchemaVersion=134] ["start time"=8.03625ms] [gotSchemaVersion=134] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:52.146 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=134] [2024/05/23 09:16:52.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=134] ["take time"=46.501848ms] [job="ID:124, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:52.260 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:52.318 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=134] [neededSchemaVersion=135] ["start time"=7.802224ms] [gotSchemaVersion=135] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:52.357 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=135] [2024/05/23 09:16:52.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=135] ["take time"=49.336383ms] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:52.483 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:52.489 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:16:52.492 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=119] [startKey=7480000000000000775f72013100000000000000f8038000000000000001] [endKey=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:16:52.558 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/23 09:16:52.764 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958592509116416, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:52.777 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:16:52.944 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/124] [2024/05/23 09:16:53.735 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.786903274\n# Parse_time: 0\n# Compile_time: 0.004423758\n# Rewrite_time: 0.000797833\n# Optimize_time: 0.001175989\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.0000024\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NzgwLjRtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkVUxA3OS42bRlTEAkxNC4wEUR4MgkxMV82CTAJMTAwMDAJdGFibGU6VEFCTEVTCTgxOA2VDDczLjIZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NzczLjJtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkVUgg5LjYZUgwycPBvPlEACEAA4UJRAAAIDU4AORFHDDgwLjQdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:53.735 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=119] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:16:54.087 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=13] [2024/05/23 09:16:54.088 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:16:54.600 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:16:54.600 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:16:54.604 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=13] [curr-step=init] [next-step=read-index] [2024/05/23 09:16:54.620 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:16:55.249 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=13] [type=backfill] [remaining-slots=12] [2024/05/23 09:16:55.687 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=13] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:16:55.692 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=124] [2024/05/23 09:16:55.712 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:16:55.852 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:16:55.853 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=124] [indexIDs="[5]"] [2024/05/23 09:16:55.868 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=13] [subtask-id=13] [jobID=124] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:16:55.868 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:16:55.868 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:16:55.869 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:16:55.869 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:16:55.869 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f72013100000000000000f8038000000000000001] ["end key"=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:16:55.869 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=13] [subtask-id=13] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000775f72013100000000000000f8038000000000000001, endKey=7480000000000000775f72013300000000000000f803800000000000000300"] [2024/05/23 09:16:55.874 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=13] [subtask-id=13] [id=1] [2024/05/23 09:16:55.874 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000005038000000000000001013100000000000000f8038000000000000001] [idxVal=007d01] [2024/05/23 09:16:55.874 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000005038000000000000002013200000000000000f8038000000000000002] [idxVal=007d01] [2024/05/23 09:16:55.875 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000005038000000000000003013300000000000000f8038000000000000003] [idxVal=007d01] [2024/05/23 09:16:55.877 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:16:55.984 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:16:55.988 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=124] [] [2024/05/23 09:16:55.988 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=13] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=301.336116ms] [] [2024/05/23 09:16:56.127 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:16:56.313 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=13] [type=backfill] [2024/05/23 09:16:56.589 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:56.614 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=13] [2024/05/23 09:16:56.701 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:16:56.701 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=13] [2024/05/23 09:16:56.998 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:16:57.432 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.839899509\n# Parse_time: 0\n# Compile_time: 0.004357338\n# Rewrite_time: 0.000837724\n# Optimize_time: 0.001098268\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003182\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6ODMzLjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkZUwwyLjdtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQgyMC4dlTQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6ODIwLjVtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkRUgwzMi43GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwQzLh2ZfDJiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:57.510 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=135] [neededSchemaVersion=136] ["start time"=7.737984ms] [gotSchemaVersion=136] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:57.548 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=136] [2024/05/23 09:16:57.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=136] ["take time"=55.803329ms] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958592509116416, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:57.681 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958592509116416, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:57.686 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=124] [table=t] [index=idx3] [2024/05/23 09:16:57.737 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=136] [neededSchemaVersion=137] ["start time"=8.141025ms] [gotSchemaVersion=137] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:57.754 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=137] [2024/05/23 09:16:57.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=137] ["take time"=26.623529ms] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:57.847 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:57.853 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=119] [startKey=7480000000000000775f69ffff000000000005] [endKey=7480000000000000775f69ffff000000000005ff] [2024/05/23 09:16:57.960 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/23 09:16:58.180 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958593915256832, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:58.209 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=124] [2024/05/23 09:16:58.209 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958593915256832, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:5,StartKey:7480000000000000775f69ffff000000000005,EndKey:7480000000000000775f69ffff000000000005ff,First:false,PhysicalTableID:119,Ingest mode:false"] [2024/05/23 09:16:58.222 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f69ffff000000000005] ["end key"=7480000000000000775f69ffff000000000005ff] [2024/05/23 09:16:58.223 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000775f69ffff000000000005] [endKey=7480000000000000775f69ffff000000000005ff] [2024/05/23 09:16:58.230 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=119] ["end key"=7480000000000000775f69ffff000000000005ff] ["current end key"=7480000000000000775f69ffff00000000000500] [2024/05/23 09:16:58.230 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=124] [2024/05/23 09:16:58.231 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 119, range: [7480000000000000775f69ffff000000000005, 7480000000000000775f69ffff00000000000500), jobID: 124"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000775f69ffff0000000000050000] ["take time"=981.84µs] [2024/05/23 09:16:58.231 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=124] [2024/05/23 09:16:58.231 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=124] [2024/05/23 09:16:58.231 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=124] [2024/05/23 09:16:58.231 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:5,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000775f69ffff000000000005] [2024/05/23 09:16:58.232 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:16:58.804 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.569794213\n# Parse_time: 0\n# Compile_time: 0.031346932\n# Rewrite_time: 0.02779987\n# Optimize_time: 0.001178877\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003649\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NTM2LjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkZUww1LjZtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwyOS45GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTI5LjltcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkRUgwzNS42GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwg2LjMdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:16:58.809 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:16:58.980 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=137] [neededSchemaVersion=138] ["start time"=7.353556ms] [gotSchemaVersion=138] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:16:59.008 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=138] [2024/05/23 09:16:59.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=138] ["take time"=39.768297ms] [job="ID:124, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958593915256832, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:59.167 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=124] [tableID=119] [indexIDs="[9223090561878065157]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:16:59.230 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="add index"] [2024/05/23 09:16:59.235 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=1] [job="ID:124, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:16:51.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958593915256832, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:16:59.333 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=1] [startKey=7480000000000000775f69ffff000000000005] [endKey=7480000000000000775f69ffff000000000006] [2024/05/23 09:16:59.416 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/23 09:16:59.416 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:16:59.418 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 8.044644523\n# Parse_time: 0.000698282\n# Compile_time: 0.002268354\n# Rewrite_time: 0.000020417\n# Optimize_time: 0.000255966\n# Wait_TS: 0.000163599\n# DB: test\n# Is_internal: false\n# Digest: 2b073e8a66f74cad270fec338d44cc22902f95a4e40ca704d80473379394851f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx3(e);"] [2024/05/23 09:16:59.489 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:16:59.508 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:16:59.512 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx\""] [idxCnt=3] [2024/05/23 09:16:59.524 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:16:59.528 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx1\""] [idxCnt=3] [2024/05/23 09:16:59.552 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:16:59.556 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx2\""] [idxCnt=3] [2024/05/23 09:16:59.568 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:16:59.572 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx3\""] [idxCnt=3] [2024/05/23 09:16:59.821 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=44586df8-07f8-4b24-94d9-6aa804ff092b] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:16:59.821 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:16:59.821 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=19.617µs] [2024/05/23 09:16:59.821 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=33.33µs] [2024/05/23 09:16:59.822 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=24.379µs] [2024/05/23 09:16:59.822 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=9.484µs] [2024/05/23 09:16:59.822 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:16:59.822 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=20.712µs] [2024/05/23 09:16:59.822 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:16:59.822 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:16:59.822 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:16:59.970 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=44586df8-07f8-4b24-94d9-6aa804ff092b] ["take time"=240.120255ms] [2024/05/23 09:16:59.970 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=44586df8-07f8-4b24-94d9-6aa804ff092b] [2024/05/23 09:16:59.970 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:16:59.970 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/23 09:16:59.971 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:16:59.971 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:16:59.971 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:16:59.972 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:16:59.972 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:16:59.972 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:16:59.972 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:16:59.972 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:16:59.972 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:16:59.973 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:16:59.982 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:16:59.983 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:16:59.984 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:16:59.984 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:16:59.984 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:16:59.984 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:16:59.984 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:16:59.984 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:16:59.984 +00:00] [INFO] [domain.go:1549] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=44586df8-07f8-4b24-94d9-6aa804ff092b] [2024/05/23 09:16:59.984 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=44586df8-07f8-4b24-94d9-6aa804ff092b] [ownerKey=/tidb/stats/owner] [2024/05/23 09:16:59.984 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/23 09:16:59.984 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:16:59.984 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:16:59.984 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:16:59.984 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:16:59.984 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:16:59.984 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:16:59.984 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:16:59.985 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:16:59.985 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:16:59.985 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:16:59.985 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:16:59.985 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:16:59.985 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:16:59.985 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:16:59.985 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:16:59.985 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/23 09:16:59.985 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:16:59.985 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:16:59.985 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/23 09:16:59.985 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/23 09:16:59.985 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:16:59.986 +00:00] [INFO] [domain.go:1551] ["dist task scheduler manager stopped"] [id=44586df8-07f8-4b24-94d9-6aa804ff092b] [2024/05/23 09:16:59.986 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=44586df8-07f8-4b24-94d9-6aa804ff092b] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:16:59.986 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:16:59.986 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:16:59.986 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:16:59.986 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:16:59.986 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:16:59.999 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=269.399705ms] [2024/05/23 09:17:00.008 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:17:00.008 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:17:00.009 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:17:00.009 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:17:00.009 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:17:00.009 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAddIndexIngestGeneratedColumns (140.56s) PASS coverage: 12.4% of statements -- Test timed out at 2024-05-23 09:17:07 UTC -- ================================================================================ ==================== Test output for //pkg/ddl/ingest:ingest_test (shard 5 of 17): === RUN TestAddIndexIngestGeneratedColumns [2024/05/23 09:17:10.311 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:17:10.316 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:17:10.316 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:17:10.329 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:17:10.331 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:17:10.338 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:17:10.365 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=a6a3eddb-ac76-4731-bc76-339a9e99d9e2] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:17:10.958 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:17:10.959 +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/23 09:17:10.962 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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/ingest_test.TestAddIndexIngestGeneratedColumns\n\tpkg/ddl/ingest/integration_test.go:39\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:17:10.996 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=33.734902ms] [2024/05/23 09:17:11.002 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:17:11.002 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=cba7665d-0d53-4ea9-9680-498c549bc89f] [runWorker=true] [2024/05/23 09:17:11.003 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:17:11.003 +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/23 09:17:11.003 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:17:11.003 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:17:11.003 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:17:11.003 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:17:11.003 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:17:11.004 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:17:11.004 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:17:11.004 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:17:11.004 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:17:11.004 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:17:11.006 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:17:11.007 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:17:11.008 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:17:11.008 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:17:11.026 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:17:11.061 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:17:11.061 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:17:11.081 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:11.081 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:17:11.204 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:11.260 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:921\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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/23 09:17:11.421 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=133.692309ms] [2024/05/23 09:17:11.427 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:17:11.441 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:11.441 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:17:11.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=1] ["take time"=159.596687ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:17:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:11.536 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:11.585 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:17:11.585 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:11.587 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.562107023\n# Parse_time: 0\n# Compile_time: 0.001093259\n# Rewrite_time: 0.000035126\n# Optimize_time: 0\n# Wait_TS: 0.000162859\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse mysql;\n;"] [2024/05/23 09:17:11.589 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:17:11.683 +00:00] [INFO] [session.go:3959] ["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/23 09:17:12.115 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:17:12.425 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:11.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:12.425 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:11.728 +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/23 09:17:12.599 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:11.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:13.008 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/23 09:17:13.504 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449958597780832256\n# Query_time: 0.410016327\n# Parse_time: 0\n# Compile_time: 0.406801401\n# Rewrite_time: 0.000199462\n# Optimize_time: 0\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 97fee0577cfae72ca71097e77c429509f8ce51c8c933f491cff959296248fc4a\n# Num_cop_tasks: 0\n# Mem_max: 130583\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('e7AwCTI4XzMJMAkwCU4vQQkwCXRpbWU6Mi4wMW1zLCBsb29wczoxCTI3LjUgS0IBI6gKMQkzNl8xCTAJMQl0YWJsZTp0aWRiX2RkbF9qb2IsIGhhbmRsZTo1CTEJBUsYNDE0LjHCtRVNJDIJTi9BCU4vQQo=')\n# Plan_digest: 3fea32741ba131a439f08d925bc0d60ce688c732cc613c6d3625da6592028edc\n# Resource_group: default\n;"] [2024/05/23 09:17:13.596 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=33.932504ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:13.638 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:13.639 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:17:13.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=2] ["take time"=81.557551ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:11.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:13.871 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:11.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:14.348 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:17:14.349 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:14.351 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 2.706456331\n# Parse_time: 0\n# Compile_time: 0.038898835\n# Rewrite_time: 0.00001521\n# Optimize_time: 0\n# Wait_TS: 0.00018405\n# DB: mysql\n# Is_internal: true\n# Digest: 1dcdddcae0fb6a3fa29440fed26e29fecfb2c265d457dd4657cef0ce99abd274\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:14.382 +00:00] [INFO] [session.go:3959] ["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/23 09:17:14.470 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:14.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:14.470 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:14.402 +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/23 09:17:14.560 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:14.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:14.764 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.342031ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:14.784 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:14.784 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:17:14.784 +00:00] [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"=23.891161ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:14.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:14.855 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:14.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:15.005 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:17:15.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:15.013 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.634440288\n# Parse_time: 0\n# Compile_time: 0.003092208\n# Rewrite_time: 0.00001371\n# Optimize_time: 0\n# Wait_TS: 0.000161992\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:15.019 +00:00] [INFO] [session.go:3959] ["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/23 09:17:15.095 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:15.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:15.095 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:15.036 +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/23 09:17:15.168 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:15.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:15.259 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.462596ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:15.276 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:15.276 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:17:15.276 +00:00] [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"=20.503364ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:15.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:15.446 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:15.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:15.508 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:17:15.524 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:15.527 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.509062087\n# Parse_time: 0\n# Compile_time: 0.002444954\n# Rewrite_time: 0.000013298\n# Optimize_time: 0\n# Wait_TS: 0.000178006\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Warnings: [{\"Level\":\"Warning\",\"Message\":\"BLOB/TEXT/JSON column 'Priv' can't have a default value\"}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:15.575 +00:00] [INFO] [session.go:3959] ["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/23 09:17:15.829 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:15.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:15.829 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:15.606 +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/23 09:17:15.967 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:15.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:16.374 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=6.774437ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:16.391 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:16.391 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:17:16.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=5] ["take time"=26.101072ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:15.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:16.479 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:15.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:16.745 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:17:16.745 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:16.747 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.208773172\n# Parse_time: 0\n# Compile_time: 0.03697651\n# Rewrite_time: 0.000013087\n# Optimize_time: 0\n# Wait_TS: 0.000166611\n# DB: mysql\n# Is_internal: true\n# Digest: e02ee30435ff06e52f357a0a68828973f373118f7009cbdfbeb747a4e7d91418\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:16.758 +00:00] [INFO] [session.go:3959] ["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/23 09:17:16.851 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:16.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:16.851 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:16.779 +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/23 09:17:16.979 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:16.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:17.160 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.252377ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:17.173 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:17.173 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:17:17.175 +00:00] [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"=18.821043ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:16.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:17.304 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:16.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:17.528 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:17:17.528 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:17.530 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.776315402\n# Parse_time: 0\n# Compile_time: 0.004502768\n# Rewrite_time: 0.000015693\n# Optimize_time: 0\n# Wait_TS: 0.000145418\n# DB: mysql\n# Is_internal: true\n# Digest: 5759132672d59a4de3b27e6fbbd8f039e7489d9187962651ede26b9390589e5c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:17.551 +00:00] [INFO] [session.go:3959] ["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/23 09:17:17.756 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:17.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:17.756 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:17.582 +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/23 09:17:17.883 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:17.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:18.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=3.327689ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:18.191 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:18.191 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:17:18.197 +00:00] [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"=27.238363ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:17.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:18.291 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:17.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:18.428 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:17:18.429 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:18.431 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.883479504\n# Parse_time: 0\n# Compile_time: 0.003784899\n# Rewrite_time: 0.000013765\n# Optimize_time: 0\n# Wait_TS: 0.000148949\n# DB: mysql\n# Is_internal: true\n# Digest: 36f214f75d4d00ba6ac1ac7b8c95c01ec9574a40c07a536b2afe7a72144551b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:18.434 +00:00] [INFO] [session.go:3959] ["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/23 09:17:18.503 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:18.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:18.504 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:18.45 +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/23 09:17:18.633 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:18.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:18.725 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.897504ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:18.749 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:18.749 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:17:18.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=8] ["take time"=28.559404ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:18.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:18.890 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:18.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:18.991 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:17:18.991 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:18.993 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.559860386\n# Parse_time: 0\n# Compile_time: 0.001876011\n# Rewrite_time: 0.000014208\n# Optimize_time: 0\n# Wait_TS: 0.000140791\n# DB: mysql\n# Is_internal: true\n# Digest: 1b59564c29970a0a8880792322e02b7df09888f7d0a2dfc190f3ed0ff12369d4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:18.998 +00:00] [INFO] [session.go:3959] ["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/23 09:17:19.072 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:19.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:19.072 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:19.027 +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/23 09:17:19.187 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:19.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:19.302 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.229274ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:19.317 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:19.317 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:17:19.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=9] ["take time"=18.123141ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:19.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:19.418 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:19.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:19.523 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:17:19.523 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:19.525 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.529837988\n# Parse_time: 0\n# Compile_time: 0.00253905\n# Rewrite_time: 0.000013274\n# Optimize_time: 0\n# Wait_TS: 0.000143396\n# DB: mysql\n# Is_internal: true\n# Digest: ade124588c0253b12ce82702300a98a0ff778787142ce450039efbd6347664dc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:19.534 +00:00] [INFO] [session.go:3959] ["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/23 09:17:19.683 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:19.684 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:19.561 +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/23 09:17:19.758 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:19.940 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.726578ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:19.955 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:19.955 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:17:19.955 +00:00] [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"=18.987424ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:20.042 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:19.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:20.258 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:17:20.258 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:20.266 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.735222896\n# Parse_time: 0\n# Compile_time: 0.003836067\n# Rewrite_time: 0.000015267\n# Optimize_time: 0\n# Wait_TS: 0.00018874\n# DB: mysql\n# Is_internal: true\n# Digest: be740d9d66f07e7842e3b48027d6fb3ef54623295384e63dcbf3e1c8a9f15c10\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:20.274 +00:00] [INFO] [session.go:3959] ["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/23 09:17:20.391 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:20.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:20.391 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:20.314 +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/23 09:17:20.482 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:20.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:20.625 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.710204ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:20.639 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:20.639 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:17:20.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=11] ["take time"=17.890795ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:20.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:20.712 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:20.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:20.849 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:17:20.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:20.851 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.580785113\n# Parse_time: 0\n# Compile_time: 0.004425768\n# Rewrite_time: 0.000017715\n# Optimize_time: 0\n# Wait_TS: 0.000146744\n# DB: mysql\n# Is_internal: true\n# Digest: 2db2929397c955d277d1b5400209b98787aa0797f979b9c213e3924c27b82ea9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:20.866 +00:00] [INFO] [session.go:3959] ["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/23 09:17:20.868 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:17:21.056 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:20.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:21.056 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:20.883 +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/23 09:17:21.189 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:20.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:21.464 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.196043ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:21.480 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:21.480 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:17:21.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=12] ["take time"=22.790748ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:20.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:21.594 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:20.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:21.771 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:17:21.772 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:21.774 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.915201736\n# Parse_time: 0\n# Compile_time: 0.008154116\n# Rewrite_time: 0.000014427\n# Optimize_time: 0\n# Wait_TS: 0.000135271\n# DB: mysql\n# Is_internal: true\n# Digest: e038e634a5f1b7e5429d1252be7edf0ffb0922e8636032b9c68fd59f0484f6ef\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:21.789 +00:00] [INFO] [session.go:3959] ["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/23 09:17:21.906 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:21.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:21.906 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:21.827 +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/23 09:17:22.057 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:21.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:22.371 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.599977ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:22.386 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:22.389 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:17:22.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=13] ["take time"=23.15216ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:21.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:22.580 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:21.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:22.729 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:17:22.730 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:22.732 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.946640119\n# Parse_time: 0\n# Compile_time: 0.00392199\n# Rewrite_time: 0.000014109\n# Optimize_time: 0\n# Wait_TS: 0.000147268\n# DB: mysql\n# Is_internal: true\n# Digest: 84a28596914df45e10de865c11a515d8595f2c38a422f5c8d8fb86a470ba5cad\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:22.739 +00:00] [INFO] [session.go:3959] ["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/23 09:17:22.841 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:22.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:22.842 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:22.755 +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/23 09:17:23.078 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:22.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:23.245 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.567744ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:23.260 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:23.260 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:17:23.260 +00:00] [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"=18.823818ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:22.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:23.404 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:22.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:23.517 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:17:23.518 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:23.520 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.784067209\n# Parse_time: 0\n# Compile_time: 0.003649731\n# Rewrite_time: 0.000032634\n# Optimize_time: 0\n# Wait_TS: 0.000165882\n# DB: mysql\n# Is_internal: true\n# Digest: 4407fc98c36858aed19a41d8ab6383e7885e71a2edd2716950a8847ee0c4ccd2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:23.527 +00:00] [INFO] [session.go:3959] ["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/23 09:17:23.638 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:23.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:23.639 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:23.572 +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/23 09:17:23.705 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:23.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:23.828 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.460014ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:23.870 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:23.871 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:17:23.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=15] ["take time"=49.16591ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:23.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:23.960 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:23.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:24.189 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:17:24.189 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:24.191 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.66684689\n# Parse_time: 0\n# Compile_time: 0.003290124\n# Rewrite_time: 0.000015084\n# Optimize_time: 0\n# Wait_TS: 0.000150089\n# DB: mysql\n# Is_internal: true\n# Digest: 6f80e6944eacefde08a31e8364b171d37e77c4bebc7757ae375b47812ca371cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:24.197 +00:00] [INFO] [session.go:3959] ["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/23 09:17:24.335 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:24.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:24.336 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:24.214 +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/23 09:17:24.409 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:24.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:24.541 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.488588ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:24.555 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:24.555 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:17:24.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=16] ["take time"=24.132548ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:24.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:24.643 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:24.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:24.812 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:17:24.812 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:24.814 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.620211278\n# Parse_time: 0\n# Compile_time: 0.002616373\n# Rewrite_time: 0.00001706\n# Optimize_time: 0\n# Wait_TS: 0.000163636\n# DB: mysql\n# Is_internal: true\n# Digest: ae00140f19e8173091b9a44ece06f4d51ecf640b3c9c924a7be8a7394182215f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:24.856 +00:00] [INFO] [session.go:3959] ["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/23 09:17:25.000 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:24.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:25.000 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:24.897 +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/23 09:17:25.100 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:24.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:25.252 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.68696ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:25.269 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:25.269 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:17:25.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"=20.724164ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:24.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:25.411 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:24.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:25.498 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:17:25.498 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:25.500 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.6731779\n# Parse_time: 0\n# Compile_time: 0.029094693\n# Rewrite_time: 0.000013655\n# Optimize_time: 0\n# Wait_TS: 0.000143329\n# DB: mysql\n# Is_internal: true\n# Digest: b0ac22a8699b953eeb48be3f830e94a20801551f37159b586c40d30dc883661d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:25.508 +00:00] [INFO] [session.go:3959] ["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/23 09:17:25.688 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:25.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:25.688 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:25.538 +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/23 09:17:25.831 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:25.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:26.045 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=16.415482ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:26.131 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:26.131 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:17:26.133 +00:00] [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"=114.32919ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:25.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:26.269 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:25.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:26.390 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:17:26.390 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:26.392 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.886817638\n# Parse_time: 0\n# Compile_time: 0.003566424\n# Rewrite_time: 0.000014284\n# Optimize_time: 0\n# Wait_TS: 0.000168839\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:26.403 +00:00] [INFO] [session.go:3959] ["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/23 09:17:26.691 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:26.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:26.691 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:26.426 +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/23 09:17:26.869 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:26.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:27.070 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=4.290662ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:27.085 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:27.086 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:17:27.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=19] ["take time"=23.800413ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:26.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:27.264 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:26.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:27.473 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:17:27.473 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:27.476 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.077193963\n# Parse_time: 0\n# Compile_time: 0.005257623\n# Rewrite_time: 0.000016996\n# Optimize_time: 0\n# Wait_TS: 0.000154898\n# DB: mysql\n# Is_internal: true\n# Digest: 906c8d2d8937c4ba0f1e3f03de3e50407e0940fb66383a443b19d383373b2bb9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:27.525 +00:00] [INFO] [session.go:3959] ["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/23 09:17:27.646 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:27.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:27.646 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:27.569 +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/23 09:17:27.739 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:27.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:27.867 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.746463ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:27.883 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:27.883 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:17:27.885 +00:00] [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"=21.678776ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:27.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:28.117 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:27.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:28.245 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:17:28.245 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:28.247 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.730387302\n# Parse_time: 0\n# Compile_time: 0.007879661\n# Rewrite_time: 0.000014153\n# Optimize_time: 0\n# Wait_TS: 0.000151949\n# DB: mysql\n# Is_internal: true\n# Digest: df1a9dde39341a07eb2fb8ef599e6652770203b79af3e1800917053820a3b51c\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:28.252 +00:00] [INFO] [session.go:3959] ["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/23 09:17:28.312 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:28.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:28.312 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:28.267 +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/23 09:17:28.545 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:28.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:28.711 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=20.885868ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:28.746 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:28.746 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:17:28.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=21] ["take time"=64.009306ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:28.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:29.072 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:28.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:29.171 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:17:29.171 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:29.177 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.922959608\n# Parse_time: 0\n# Compile_time: 0.002071301\n# Rewrite_time: 0.000017425\n# Optimize_time: 0\n# Wait_TS: 0.000179378\n# DB: mysql\n# Is_internal: true\n# Digest: 988ff7e96344f475621bfec9765ba7b507e76d86daa1e3fdf0f9eadbd538afd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:29.180 +00:00] [INFO] [session.go:3959] ["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/23 09:17:29.261 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:29.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:29.261 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:29.2 +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/23 09:17:29.451 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:29.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:29.670 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.703055ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:29.706 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:29.707 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:17:29.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=22] ["take time"=40.654959ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:29.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:29.886 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:29.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:29.954 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:17:29.954 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:29.962 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.782824704\n# Parse_time: 0\n# Compile_time: 0.001427331\n# Rewrite_time: 0.000015542\n# Optimize_time: 0\n# Wait_TS: 0.000152383\n# DB: mysql\n# Is_internal: true\n# Digest: 58329d63c08bcbc761a6b408e882dc874ae0220c9a2aaaeab91d992543fef52b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:29.974 +00:00] [INFO] [session.go:3959] ["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/23 09:17:30.161 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:29.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:30.162 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:29.998 +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/23 09:17:30.354 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:29.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:30.579 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=3.384092ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:30.599 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:30.599 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:17:30.599 +00:00] [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"=24.038199ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:29.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:30.735 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:29.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:30.836 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:17:30.836 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:30.838 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.870569657\n# Parse_time: 0\n# Compile_time: 0.006786472\n# Rewrite_time: 0.000015556\n# Optimize_time: 0\n# Wait_TS: 0.000253852\n# DB: mysql\n# Is_internal: true\n# Digest: 9c4f6672f019f6d6c588a6b2eb00b13f041ee54cb97f253f85d7ae52df9d23c6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:30.844 +00:00] [INFO] [session.go:3959] ["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/23 09:17:30.920 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:30.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:30.920 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:30.859 +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/23 09:17:31.039 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:30.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:31.189 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=9.798315ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:31.205 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:31.205 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:17:31.219 +00:00] [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"=41.08939ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:30.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:31.338 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:30.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:31.444 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:17:31.444 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:31.446 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.604807737\n# Parse_time: 0\n# Compile_time: 0.002782128\n# Rewrite_time: 0.000016096\n# Optimize_time: 0\n# Wait_TS: 0.000153608\n# DB: mysql\n# Is_internal: true\n# Digest: 9e692f90f6e351e4eecf3fbff7177acf0a166d0cd79badb0ce0ced2bb754eb99\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:31.466 +00:00] [INFO] [session.go:3959] ["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/23 09:17:31.535 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:31.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:31.535 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:31.487 +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/23 09:17:31.621 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:31.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:31.743 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.52994ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:31.758 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:31.758 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:17:31.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=25] ["take time"=18.439227ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:31.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:31.948 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:31.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:32.065 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:17:32.065 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:32.067 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.604497839\n# Parse_time: 0\n# Compile_time: 0.002888523\n# Rewrite_time: 0.000014162\n# Optimize_time: 0\n# Wait_TS: 0.000167229\n# DB: mysql\n# Is_internal: true\n# Digest: fb2ab8d9eb87bcf45e5bc65e3dbe38a6d629c319d70fb6f44a741534bb3455a6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:32.074 +00:00] [INFO] [session.go:3959] ["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/23 09:17:32.182 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:32.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:32.182 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:32.089 +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/23 09:17:32.304 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:32.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:32.397 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.131565ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:32.439 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:32.439 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:17:32.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=26] ["take time"=45.18101ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:32.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:32.650 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:32.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:32.774 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:17:32.774 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:32.776 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.704600211\n# Parse_time: 0\n# Compile_time: 0.0026719\n# Rewrite_time: 0.000015416\n# Optimize_time: 0\n# Wait_TS: 0.000176304\n# DB: mysql\n# Is_internal: true\n# Digest: 1fac41a3d4a89e3e4da2393e1f69d1aacfec8886db749d6329e9bf677df777b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:32.800 +00:00] [INFO] [session.go:3959] ["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/23 09:17:32.916 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:32.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:32.916 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:32.847 +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/23 09:17:33.055 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:32.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:33.161 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=2.657711ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:33.176 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:33.176 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:17:33.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=27] ["take time"=25.776886ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:32.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:33.316 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:32.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:33.501 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:17:33.501 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:33.504 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.705400451\n# Parse_time: 0\n# Compile_time: 0.002353682\n# Rewrite_time: 0.000013229\n# Optimize_time: 0\n# Wait_TS: 0.000144785\n# DB: mysql\n# Is_internal: true\n# Digest: 06962f34c69b85ab590c2556bdffd68d7705d56a70a3b0522b0ba5bc55363fd3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:33.510 +00:00] [INFO] [session.go:3959] ["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/23 09:17:33.616 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:33.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:33.616 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:33.556 +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/23 09:17:33.725 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:33.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:33.849 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.182258ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:33.865 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:33.865 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:17:33.865 +00:00] [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"=19.454742ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:33.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:33.938 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:33.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:34.102 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:17:34.102 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:34.104 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.596280062\n# Parse_time: 0\n# Compile_time: 0.003237601\n# Rewrite_time: 0.00001487\n# Optimize_time: 0\n# Wait_TS: 0.000148058\n# DB: mysql\n# Is_internal: true\n# Digest: a30fd7e284f356f111cb15459926cdbebb3d6f24c950b6f3b9729d8b5f13ee4f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:34.117 +00:00] [INFO] [session.go:3959] ["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/23 09:17:34.120 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:17:34.197 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:34.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:34.198 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:34.135 +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/23 09:17:34.254 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:34.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:34.455 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.874593ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:34.471 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:34.471 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:17:34.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=29] ["take time"=24.984719ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:34.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:34.550 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:34.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:34.641 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:17:34.641 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:34.644 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.533435237\n# Parse_time: 0\n# Compile_time: 0.007090669\n# Rewrite_time: 0.000014111\n# Optimize_time: 0\n# Wait_TS: 0.000159102\n# DB: mysql\n# Is_internal: true\n# Digest: c862b6db4c0b104bd6ade1db78bbe1f6a12a30584d750044f3eec57a1a86580e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:34.653 +00:00] [INFO] [session.go:3959] ["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/23 09:17:34.816 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:34.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:34.817 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:34.667 +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/23 09:17:34.922 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:34.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:35.184 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=3.027995ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:35.214 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:35.214 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:17:35.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=30] ["take time"=37.851424ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:34.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:35.350 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:34.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:35.476 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:17:35.476 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:35.478 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.829295679\n# Parse_time: 0\n# Compile_time: 0.00395482\n# Rewrite_time: 0.000014764\n# Optimize_time: 0\n# Wait_TS: 0.000159918\n# DB: mysql\n# Is_internal: true\n# Digest: eceb528bf68c7d9b100b120b5113005ea7f5a4c6c1f4834403330ff156d0a3aa\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:35.508 +00:00] [INFO] [session.go:3959] ["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/23 09:17:35.714 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:35.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:35.714 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:35.545 +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/23 09:17:35.850 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:35.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:36.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=3.375128ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:36.118 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:36.118 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:17:36.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=31] ["take time"=20.027139ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:35.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:36.256 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:35.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:36.392 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:17:36.392 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:36.394 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.910930393\n# Parse_time: 0\n# Compile_time: 0.025158949\n# Rewrite_time: 0.000016601\n# Optimize_time: 0\n# Wait_TS: 0.000156338\n# DB: mysql\n# Is_internal: true\n# Digest: 752363602773b9b875eec93769301ada55a059e0b28c5434de98fdbbc6af54cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:36.406 +00:00] [INFO] [session.go:3959] ["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/23 09:17:36.557 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:36.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:36.557 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:36.423 +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/23 09:17:36.690 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:36.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:37.070 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=4.284626ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:37.096 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:37.096 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:17:37.096 +00:00] [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"=31.313143ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:36.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:37.268 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:36.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:37.428 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:17:37.428 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:37.431 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.030866363\n# Parse_time: 0\n# Compile_time: 0.006771522\n# Rewrite_time: 0.000011411\n# Optimize_time: 0\n# Wait_TS: 0.000145685\n# DB: mysql\n# Is_internal: true\n# Digest: 1127cc15f332cc4c1c6b97d06d92880902c2f7e015188cc29392a62748dd8ae0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:37.434 +00:00] [INFO] [session.go:3959] ["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/23 09:17:37.509 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:37.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:37.509 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:37.449 +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/23 09:17:37.602 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:37.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:37.752 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=1.725932ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:37.775 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:37.775 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:17:37.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=33] ["take time"=30.368249ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:37.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:37.979 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:37.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:38.058 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:17:38.058 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:38.060 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.627127929\n# Parse_time: 0\n# Compile_time: 0.001621698\n# Rewrite_time: 0.000014273\n# Optimize_time: 0\n# Wait_TS: 0.000183835\n# DB: mysql\n# Is_internal: true\n# Digest: 6eab04864600dfa37145d44689995984eecc83e3dc6ce49c1e75d23567f8bac3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:38.209 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:38.209 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:17:38.297 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:38.548 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=3.440857ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:17:38.589 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:38.589 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:17:38.591 +00:00] [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"=60.784813ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:17:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:38.813 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:39.022 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:17:39.022 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:39.024 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.95562763\n# Parse_time: 0\n# Compile_time: 0.011638075\n# Rewrite_time: 0.005600745\n# Optimize_time: 0\n# Wait_TS: 0.000153833\n# DB: mysql\n# Is_internal: true\n# Digest: 21116016d77c522c611ad3a280af29e3d82340ed19bc91481dd117f25aeda403\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:39.031 +00:00] [INFO] [session.go:3959] ["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/23 09:17:39.214 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:39.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:39.214 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:39.071 +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/23 09:17:39.412 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:39.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:39.626 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.699667ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:39.645 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:39.646 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:17:39.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=35] ["take time"=49.279961ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:39.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:39.934 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:39.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:40.062 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:17:40.062 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:40.065 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.035937767\n# Parse_time: 0\n# Compile_time: 0.003135269\n# Rewrite_time: 0.000014124\n# Optimize_time: 0\n# Wait_TS: 0.00015585\n# DB: mysql\n# Is_internal: true\n# Digest: d88a70e9c5bb5a28f5a1d1f52613093328fd73c5e78668fab2b1a9c260ab506b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:40.071 +00:00] [INFO] [session.go:3959] ["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/23 09:17:40.144 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:40.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:40.145 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:40.094 +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/23 09:17:40.380 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:40.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:40.574 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=3.236347ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:40.626 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:40.626 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:17:40.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=36] ["take time"=55.980482ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:40.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:40.802 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:40.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:40.902 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:17:40.902 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:40.904 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.83546193\n# Parse_time: 0\n# Compile_time: 0.002661303\n# Rewrite_time: 0.000014107\n# Optimize_time: 0\n# Wait_TS: 0.00014801\n# DB: mysql\n# Is_internal: true\n# Digest: 1ce2bb4fd69df5a5aeb254910aeeab700c1408b8c2de8f7dbe3ebbc11a4b1542\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:40.912 +00:00] [INFO] [session.go:3959] ["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/23 09:17:41.075 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:40.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:41.075 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:40.953 +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/23 09:17:41.145 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:40.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:41.294 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=17.651606ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:41.313 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:41.314 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:17:41.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=37] ["take time"=43.587409ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:40.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:41.468 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:40.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:41.529 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:17:41.529 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:41.531 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.6217838\n# Parse_time: 0\n# Compile_time: 0.003257879\n# Rewrite_time: 0.000014827\n# Optimize_time: 0\n# Wait_TS: 0.000150462\n# DB: mysql\n# Is_internal: true\n# Digest: f2c0bd78cfe8f7e6b4f8b30f83a48ff4c49a1a9de1c1a0c721ec3561ac42865a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:41.575 +00:00] [INFO] [session.go:3959] ["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/23 09:17:41.708 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:41.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:41.708 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:41.592 +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/23 09:17:41.768 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:41.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:42.007 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=4.808661ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:42.034 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:42.034 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:17:42.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=38] ["take time"=37.467368ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:41.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:42.183 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:41.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:42.456 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:17:42.456 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:42.476 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.924257376\n# Parse_time: 0\n# Compile_time: 0.023878215\n# Rewrite_time: 0.00001626\n# Optimize_time: 0\n# Wait_TS: 0.000161696\n# DB: mysql\n# Is_internal: true\n# Digest: 923db1cc9d609e172ea493293255661f5a9679f95604192db50211d133741170\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:42.490 +00:00] [INFO] [session.go:3959] ["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/23 09:17:42.652 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:42.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:42.652 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:42.508 +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/23 09:17:42.789 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:42.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:43.028 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=16.112182ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:43.079 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:43.079 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:17:43.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=39] ["take time"=68.700378ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:42.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:43.208 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:42.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:43.453 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:17:43.454 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:43.456 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.970724483\n# Parse_time: 0\n# Compile_time: 0.00525808\n# Rewrite_time: 0.000023252\n# Optimize_time: 0\n# Wait_TS: 0.000160475\n# DB: mysql\n# Is_internal: true\n# Digest: 99a5c0e89a0b881a0fa10de262495ae25955edb2a7ef8776054ab57aca80e0d7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:43.468 +00:00] [INFO] [session.go:3959] ["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/23 09:17:43.826 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:43.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:43.826 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:43.484 +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/23 09:17:43.972 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:43.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:44.268 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=5.046592ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:44.299 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:44.299 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:17:44.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"=37.500016ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:43.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:44.415 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:43.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:44.614 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:17:44.615 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:44.617 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.15375517\n# Parse_time: 0\n# Compile_time: 0.005738664\n# Rewrite_time: 0.000015708\n# Optimize_time: 0\n# Wait_TS: 0.000134569\n# DB: mysql\n# Is_internal: true\n# Digest: a59d1fe47cade4697d39b0374d27cfee2fa302a4c752a5ae5073cecda386a0e8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:44.627 +00:00] [INFO] [session.go:3959] ["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/23 09:17:44.769 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:44.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:44.769 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:44.648 +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/23 09:17:44.848 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:44.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:45.128 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=4.927734ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:45.146 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:45.147 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:17:45.148 +00:00] [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"=26.746664ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:44.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:45.310 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:44.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:45.615 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:17:45.615 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:45.617 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.994452933\n# Parse_time: 0\n# Compile_time: 0.004745697\n# Rewrite_time: 0.000015495\n# Optimize_time: 0\n# Wait_TS: 0.000157189\n# DB: mysql\n# Is_internal: true\n# Digest: 8b936e70dba13ed841799b00055530a734435802a5e9b11c1092357e8a0974ea\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:45.636 +00:00] [INFO] [session.go:3959] ["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/23 09:17:45.905 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:45.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:45.905 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:45.663 +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/23 09:17:46.003 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:45.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:46.318 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=4.9754ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:46.337 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:46.337 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:17:46.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=42] ["take time"=27.016597ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:45.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:46.453 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:45.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:46.692 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:17:46.692 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:46.694 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.064664733\n# Parse_time: 0\n# Compile_time: 0.006525793\n# Rewrite_time: 0.00001602\n# Optimize_time: 0\n# Wait_TS: 0.000169375\n# DB: mysql\n# Is_internal: true\n# Digest: 666f922981f05f40c7604fdcedd884ec9f6dd414d45b0b8215b19cbf33205685\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:46.735 +00:00] [INFO] [session.go:3959] ["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/23 09:17:46.942 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:46.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:46.942 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:46.753 +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/23 09:17:47.099 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:46.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:47.373 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=4.862152ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:47.397 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:47.398 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:17:47.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=43] ["take time"=30.668004ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:46.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:47.543 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:46.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:47.759 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:17:47.759 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:47.761 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.043869943\n# Parse_time: 0\n# Compile_time: 0.01850429\n# Rewrite_time: 0.000014664\n# Optimize_time: 0\n# Wait_TS: 0.000179641\n# DB: mysql\n# Is_internal: true\n# Digest: 1865863db4761960f0296bcf5386c3bb0c98aa299ac12888aa8054dc66681ee3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:47.790 +00:00] [INFO] [session.go:3959] ["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/23 09:17:47.960 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:47.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:47.960 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:47.82 +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/23 09:17:48.116 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:47.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:48.305 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=3.410153ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:48.339 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:48.340 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:17:48.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=44] ["take time"=39.592759ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:47.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:48.537 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:47.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:48.737 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:17:48.737 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:48.739 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.960011915\n# Parse_time: 0\n# Compile_time: 0.011772705\n# Rewrite_time: 0.000015195\n# Optimize_time: 0\n# Wait_TS: 0.000146353\n# DB: mysql\n# Is_internal: true\n# Digest: a2de40f38c40a12cca2de8ba7dffa75407607354a3f9335d67717fa5648c5128\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:48.749 +00:00] [INFO] [session.go:3959] ["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/23 09:17:48.901 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:48.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:48.902 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:48.768 +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/23 09:17:49.066 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:48.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:49.325 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=3.151655ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:49.366 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:49.367 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:17:49.368 +00:00] [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"=92.173257ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:48.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:49.521 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:48.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:49.642 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:17:49.642 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:49.644 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.900054895\n# Parse_time: 0\n# Compile_time: 0.005789302\n# Rewrite_time: 0.000017551\n# Optimize_time: 0\n# Wait_TS: 0.000151259\n# DB: mysql\n# Is_internal: true\n# Digest: 138d4c5637e5b37a1254d33767e808750320baffba8200a31ad2008bb2b5df97\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:49.664 +00:00] [INFO] [session.go:3959] ["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/23 09:17:49.881 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:49.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:49.881 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:49.681 +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/23 09:17:49.939 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:49.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:50.413 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=5.466265ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:50.453 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:50.454 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:17:50.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=46] ["take time"=48.012933ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:49.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:50.572 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:49.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:50.829 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:17:50.829 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:50.837 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.183986611\n# Parse_time: 0\n# Compile_time: 0.011116869\n# Rewrite_time: 0.000032403\n# Optimize_time: 0\n# Wait_TS: 0.000146413\n# DB: mysql\n# Is_internal: true\n# Digest: 9911fdd027ae330cb69c5cc84a8759473df277eda62594b0dc9b5a797f09a21d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:50.866 +00:00] [INFO] [session.go:3959] ["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/23 09:17:51.043 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:50.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:51.043 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:50.911 +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/23 09:17:51.110 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:50.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:51.362 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=3.386673ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:51.385 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:51.385 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:17:51.385 +00:00] [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"=27.696565ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:50.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:51.568 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:50.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:51.780 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:17:51.781 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:51.782 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.939879163\n# Parse_time: 0\n# Compile_time: 0.023248656\n# Rewrite_time: 0.000015739\n# Optimize_time: 0\n# Wait_TS: 0.000143321\n# DB: mysql\n# Is_internal: true\n# Digest: 18ab068c70cca87bd99eadc5e483c12b4b41273470a58870b5f4e6eaf6322ce4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:51.787 +00:00] [INFO] [session.go:3959] ["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/23 09:17:51.865 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:51.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:51.865 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:51.811 +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/23 09:17:52.049 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:51.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:52.081 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:17:52.081 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:17:52.081 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:17:52.081 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:17:52.146 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=2.248737ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:52.161 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:52.161 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:17:52.163 +00:00] [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"=20.135141ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:51.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:52.304 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:51.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:52.487 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:17:52.487 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:52.489 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.704007005\n# Parse_time: 0\n# Compile_time: 0.002400531\n# Rewrite_time: 0.000014043\n# Optimize_time: 0\n# Wait_TS: 0.00012092\n# DB: mysql\n# Is_internal: true\n# Digest: d7aca5b8f7b6ebbd013778d4a0451e0b59954ffc0090d361b1f71722be496608\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:52.509 +00:00] [INFO] [session.go:3959] ["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/23 09:17:52.677 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:52.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:52.678 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:52.529 +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/23 09:17:52.789 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:52.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:53.057 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=2.615696ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:17:53.072 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:53.072 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:17:53.076 +00:00] [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"=22.74784ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:52.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:53.239 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:52.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:53.320 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:17:53.320 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:53.322 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.828562938\n# Parse_time: 0\n# Compile_time: 0.015103569\n# Rewrite_time: 0.000014816\n# Optimize_time: 0\n# Wait_TS: 0.000132986\n# DB: mysql\n# Is_internal: true\n# Digest: 5ca9dd4b3efdb0fd8b4c7af3016f911e048fc356c5b2a241e06c5bc30f085ce7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:53.324 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:17:53.375 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:53.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:53.375 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:53.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:17:53.564 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:53.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:53.596 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=614.17µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:17:53.643 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:53.644 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:17:53.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=50] ["take time"=50.643274ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:17:53.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:53.897 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:53.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:53.953 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:17:53.953 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:53.955 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.631390008\n# Parse_time: 0\n# Compile_time: 0.000997783\n# Rewrite_time: 0.000012689\n# Optimize_time: 0\n# Wait_TS: 0.0001288\n# DB: mysql\n# Is_internal: true\n# Digest: 28d51e3d698da98c60f20a53b5051c7b2d219978d014ce863413788ed5d6649b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:54.083 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:54.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:54.083 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:54.021 +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/23 09:17:54.160 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:17:54.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:54.385 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=2.117978ms] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:17:54.407 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:17:54.407 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:17:54.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=51] ["take time"=26.683098ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:17:54.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:54.562 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:17:54.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:54.669 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:17:54.669 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:17:54.671 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.697923864\n# Parse_time: 0\n# Compile_time: 0.013382888\n# Rewrite_time: 0.003153478\n# Optimize_time: 0\n# Wait_TS: 0.000158638\n# DB: mysql\n# Is_internal: true\n# Digest: 04175714d714f771531a56c7ae3f097cec113655220f87ac336c5ae44d3d3f8f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:17:56.197 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449958608810278912\n# Query_time: 1.102378471\n# Parse_time: 0\n# Compile_time: 0.68654047\n# Rewrite_time: 0.009400433\n# Optimize_time: 0\n# Wait_TS: 0\n# DB: mysql\n# Is_internal: true\n# Digest: eb58d96d7eba9ae407efec64db335db75d58891b8cfae5274e34deeeb21575de\n# Num_cop_tasks: 0\n# Mem_max: 363337\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('pQPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZTozOTcuNW1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDUzLjIBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzoxLCB0AUEAXwVouDE4MS42wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjcwNi41wrVzLCBnZXRfESQYczoxNy43wgEXCRMUOjQyOC44BREcc2xvd2VzdF8RQwV2ACARtmAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAdsFBwgxLCAZjhhwcmltYXJ5RkQAADCKRAANZAhudW0B9gXQDF9rZXklTwkOVGJ5dGU6MzJ9fX0sIGluc2VydDozNDQhWDQJMTA2LjggS0IJTi9BCg==')\n# Resource_group: default\n;"] [2024/05/23 09:17:56.534 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=45.529415212s] [2024/05/23 09:17:56.548 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=cba7665d-0d53-4ea9-9680-498c549bc89f] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:17:56.548 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:17:56.549 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=25.429µs] [2024/05/23 09:17:56.549 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=13.962µs] [2024/05/23 09:17:56.549 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=6.576µs] [2024/05/23 09:17:56.549 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=11.433µs] [2024/05/23 09:17:56.549 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:17:56.549 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=7.508µs] [2024/05/23 09:17:56.549 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:17:56.549 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:17:56.549 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:17:56.594 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=cba7665d-0d53-4ea9-9680-498c549bc89f] ["take time"=56.302945ms] [2024/05/23 09:17:56.594 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=cba7665d-0d53-4ea9-9680-498c549bc89f] [2024/05/23 09:17:56.594 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:17:56.595 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:17:56.595 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:17:56.595 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:17:56.595 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:17:56.595 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:17:56.595 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:17:56.595 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:17:56.595 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:17:56.595 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:17:56.595 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:17:56.595 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:17:56.595 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:17:56.595 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:17:56.595 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:17:56.596 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=58.315005ms] [2024/05/23 09:17:56.596 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=a6a3eddb-ac76-4731-bc76-339a9e99d9e2] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:17:57.013 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:17:57.014 +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/23 09:17:57.231 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=215.21861ms] [2024/05/23 09:17:57.237 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:17:57.237 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=622e2b1e-9d71-4e09-9883-2c81dd9f3b4a] [runWorker=true] [2024/05/23 09:17:57.238 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:17:57.239 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:17:57.239 +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/23 09:17:57.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:17:57.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:17:57.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:17:57.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:17:57.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:17:57.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:17:57.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:17:57.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:17:57.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:17:57.240 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:17:57.241 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:17:57.245 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:17:57.253 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:17:57.275 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:17:57.276 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:17:57.367 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:17:57.367 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:17:57.403 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/23 09:17:57.417 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:17:57.727 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:17:57.874 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:17:57.915 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:17:57.917 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:17:57.919 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:17:57.919 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:17:57.920 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:17:57.933 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:17:57.936 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:17:57.936 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:17:57.937 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:17:57.952 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:17:57.969 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:17:57.969 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:17:58.137 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:17:58.165 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int, c int as (b+10), d int as (b+c), primary key (a) clustered);"] [user=] [2024/05/23 09:17:58.274 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:17:58.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:17:58.274 +00:00] [INFO] [ddl.go:1210] ["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-23 09:17:58.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b int, c int as (b+10), d int as (b+c), primary key (a) clustered);"] [2024/05/23 09:17:58.331 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:17:58.332 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:17:58.332 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:17:58.332 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:17:58.410 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:17:58.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:17:58.938 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/23 09:17:58.939 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/23 09:17:58.970 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/23 09:17:58.996 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/23 09:17:58.997 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/23 09:17:58.997 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/23 09:17:58.995 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/23 09:17:59.253 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/23 09:17:59.459 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=51] ["start time"=1.217093913s] [2024/05/23 09:17:59.658 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:17:59.658 +00:00] [WARN] [domain.go:654] ["loading schema takes a long time"] ["take time"=1.418213003s] [2024/05/23 09:18:00.027 +00:00] [INFO] [mvcc.go:1246] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449958609818484736] ["min commit ts"=449958610210127873] [key=bURCOjIAAAAA+wAAAAAAAABoVGFibGU6MTD/NAAAAAAAAAD4] [2024/05/23 09:18:00.029 +00:00] [INFO] [commit.go:160] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449958609789648896] [info="{StartTs:449958609789648896 AttemptedCommitTs:449958609818484736 Key:6d44423a3200000000fb00000000000000685461626c653a3130ff3400000000000000f8 MinCommitTs:449958610210127873}"] [2024/05/23 09:18:00.036 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=4.273957ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:18:00.055 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:18:00.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=52] ["take time"=24.353253ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:17:58.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:00.213 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:17:58.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:00.363 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:18:00.363 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:00.365 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 2.223058583\n# Parse_time: 0.020790247\n# Compile_time: 0.002200846\n# Rewrite_time: 0.00001489\n# Optimize_time: 0.000667557\n# Wait_TS: 0.000168042\n# DB: test\n# Is_internal: false\n# Digest: de18c1b22f1ae17b9dd9d49bb2c1a0f963cebc35c1d2779359413a357cea548a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ncreate table t (a int, b int, c int as (b+10), d int as (b+c), primary key (a) clustered);"] [2024/05/23 09:18:00.407 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="alter table t add index idx(c);"] [user=] [2024/05/23 09:18:00.512 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:18:00.512 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx(c);"] [2024/05/23 09:18:00.656 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:00.658 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:18:00.702 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=5.689215ms] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:00.717 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/23 09:18:00.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=53] ["take time"=22.136932ms] [job="ID:106, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:01.001 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:01.098 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=7.305315ms] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:01.133 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/23 09:18:01.133 +00:00] [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"=43.081251ms] [job="ID:106, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:01.324 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:01.409 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=5.35392ms] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:01.443 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/23 09:18:01.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=55] ["take time"=43.610073ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:01.565 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:01.569 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:18:01.573 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:18:01.646 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:18:01.800 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958610618286080, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:01.803 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:18:01.927 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/106] [2024/05/23 09:18:02.718 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.788304928\n# Parse_time: 0\n# Compile_time: 0.004376952\n# Rewrite_time: 0.000813038\n# Optimize_time: 0.001192615\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002827\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6Nzc1LjltcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkuUwAEMW0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VDDUyLjMZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NzUyLjNtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw3NS4xGVIMMnDwbz5RAAhAAOFCUQAACA1OADkdRwA5HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:02.719 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:18:03.077 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=1] [2024/05/23 09:18:03.077 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:18:03.587 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:18:03.587 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:18:03.590 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [2024/05/23 09:18:03.616 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:18:03.831 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=1] [type=backfill] [remaining-slots=12] [2024/05/23 09:18:04.304 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=1] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:18:04.326 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=106] [2024/05/23 09:18:04.339 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:18:04.469 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:18:04.470 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=106] [indexIDs="[1]"] [2024/05/23 09:18:04.484 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=1] [subtask-id=1] [jobID=106] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:18:04.485 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:18:04.485 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:18:04.485 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:18:04.485 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:18:04.485 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:18:04.486 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=1] [subtask-id=1] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:18:04.505 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=1] [subtask-id=1] [id=1] [2024/05/23 09:18:04.506 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000103800000000000000b038000000000000001] [idxVal=30] [2024/05/23 09:18:04.506 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000103800000000000000c038000000000000002] [idxVal=30] [2024/05/23 09:18:04.506 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000103800000000000000d038000000000000003] [idxVal=30] [2024/05/23 09:18:04.506 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:18:04.646 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:18:04.647 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:18:04.648 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=106] [] [2024/05/23 09:18:04.649 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=1] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=344.470679ms] [] [2024/05/23 09:18:04.899 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:04.959 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=1] [type=backfill] [2024/05/23 09:18:05.091 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2024/05/23 09:18:05.172 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:18:05.172 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=1] [2024/05/23 09:18:05.324 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:18:05.597 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.694016737\n# Parse_time: 0\n# Compile_time: 0.004517993\n# Rewrite_time: 0.000843785\n# Optimize_time: 0.001146085\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000007163\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6Njg3LjZtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww2LjhtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgRlQgwLjkZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NjgwLjltcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkVUgg2LjgZUgwycPBvPlEACEAA4UJRAAAIDU4AOBVHCDcuNh1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:18:05.656 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=6.671538ms] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:05.699 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/23 09:18:05.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=56] ["take time"=50.502119ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958610618286080, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:05.882 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958610618286080, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:05.886 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=106] [table=t] [index=idx] [2024/05/23 09:18:05.966 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=16.800964ms] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:06.020 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=57] [2024/05/23 09:18:06.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=57] ["take time"=72.146503ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:06.303 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:06.352 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000001ff] [2024/05/23 09:18:06.452 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:18:06.617 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958611871858688, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:06.647 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=106] [2024/05/23 09:18:06.642 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958611871858688, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000685f69ffff000000000001,EndKey:7480000000000000685f69ffff000000000001ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:18:06.678 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000001] ["end key"=7480000000000000685f69ffff000000000001ff] [2024/05/23 09:18:06.678 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000001ff] [2024/05/23 09:18:06.686 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000001ff] ["current end key"=7480000000000000685f69ffff00000000000100] [2024/05/23 09:18:06.686 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=106] [2024/05/23 09:18:06.686 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=106] [2024/05/23 09:18:06.686 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=106] [2024/05/23 09:18:06.687 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000001, 7480000000000000685f69ffff00000000000100), jobID: 106"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000010000] ["take time"=1.062893ms] [2024/05/23 09:18:06.688 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=106] [2024/05/23 09:18:06.688 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000001] [2024/05/23 09:18:06.688 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:07.362 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.669610823\n# Parse_time: 0\n# Compile_time: 0.004384693\n# Rewrite_time: 0.000836387\n# Optimize_time: 0.001085085\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003263\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjEzLjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUwwyLjltGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgJlQg1OTAulQA0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTkwLjdtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkNUhA2MTIuORlSDDJw8G8+UQAIQADhQlEAAAgNTgA4FUcAMy6ZAHwyYg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:07.376 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:18:07.464 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=7.331768ms] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:07.508 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=58] [2024/05/23 09:18:07.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=58] ["take time"=52.496035ms] [job="ID:106, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958611871858688, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:07.641 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:18:07.656 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="add index"] [2024/05/23 09:18:07.661 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=106] [conn=1] [job="ID:106, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:00.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958611871858688, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:07.792 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=1] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000002] [2024/05/23 09:18:07.881 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/23 09:18:07.882 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:07.884 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 7.479528988\n# Parse_time: 0.000795724\n# Compile_time: 0.001367624\n# Rewrite_time: 0.00002319\n# Optimize_time: 0.000667557\n# Wait_TS: 0.000144768\n# DB: test\n# Is_internal: false\n# Digest: f056cb3128d4ab402e1c24ca2ef0bc40a6686bd6e0f9612004534b4fb0b9458d\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx(c);"] [2024/05/23 09:18:07.893 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=58] [cur_db=test] [sql="alter table t add index idx1(c, a);"] [user=] [2024/05/23 09:18:07.975 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:18:07.975 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx1(c, a);"] [2024/05/23 09:18:08.130 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:08.133 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx1\",\"L\":\"idx1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"length\":-1},{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"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/23 09:18:08.221 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=5.976721ms] [gotSchemaVersion=59] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:08.248 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=59] [2024/05/23 09:18:08.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=59] ["take time"=37.275605ms] [job="ID:107, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:08.488 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:08.603 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=6.38862ms] [gotSchemaVersion=60] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:08.621 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=60] [2024/05/23 09:18:08.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=60] ["take time"=47.011085ms] [job="ID:107, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:08.778 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:08.825 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=6.197822ms] [gotSchemaVersion=61] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:08.857 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=61] [2024/05/23 09:18:08.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=61] ["take time"=40.067068ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:09.112 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:09.127 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=107] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:18:09.131 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:18:09.277 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=107] [2024/05/23 09:18:09.382 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958612599570432, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:09.386 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=107] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:18:09.623 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/107] [2024/05/23 09:18:10.447 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.821941105\n# Parse_time: 0\n# Compile_time: 0.008918206\n# Rewrite_time: 0.000874618\n# Optimize_time: 0.001149091\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000004205\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6ODExbXMsIGxvb3BzOjIsIENvbmN1cnJlbmN5OjUJNS41NyBLQglOL0EKMQkxXzUJMAk4AUcIZXEoDUocMjIsIDEwNCkVUQwwOC41HVMQCTE0LjARRCgyCTExXzYJMAkxMAFGPHRhYmxlOlRBQkxFUwk4MTgNkwwwMi42GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6ODAyLjZtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkVUgg4LjUZUgwycPBvPlEACEAA4UJRAAAIDU4IOVoTCZkEMTEdRXhiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:18:10.448 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:18:10.842 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=2] [2024/05/23 09:18:10.842 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:18:11.351 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:18:11.351 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:18:11.354 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=2] [curr-step=init] [next-step=read-index] [2024/05/23 09:18:11.360 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:18:11.633 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=2] [type=backfill] [remaining-slots=12] [2024/05/23 09:18:11.987 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=2] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:18:12.029 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=107] [2024/05/23 09:18:12.034 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:18:12.176 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:18:12.177 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=107] [indexIDs="[2]"] [2024/05/23 09:18:12.185 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=2] [subtask-id=2] [jobID=107] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:18:12.185 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:18:12.186 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:18:12.186 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:18:12.186 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:18:12.187 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:18:12.187 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=2] [subtask-id=2] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:18:12.192 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000203800000000000000b038000000000000001038000000000000001] [idxVal=30] [2024/05/23 09:18:12.193 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=2] [subtask-id=2] [id=1] [2024/05/23 09:18:12.193 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000203800000000000000c038000000000000002038000000000000002] [idxVal=30] [2024/05/23 09:18:12.193 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000203800000000000000d038000000000000003038000000000000003] [idxVal=30] [2024/05/23 09:18:12.193 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:18:12.352 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:18:12.355 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=107] [] [2024/05/23 09:18:12.355 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=2] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=367.717368ms] [] [2024/05/23 09:18:12.445 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=2] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:18:12.665 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=2] [type=backfill] [2024/05/23 09:18:12.829 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:12.858 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2024/05/23 09:18:12.946 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:18:12.946 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=2] [2024/05/23 09:18:13.111 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:18:13.586 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.747333344\n# Parse_time: 0\n# Compile_time: 0.004383371\n# Rewrite_time: 0.00080203\n# Optimize_time: 0.001034405\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003536\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NzQxbXMsIGxvb3BzOjIsIENvbmN1cnJlbmN5OjUJNS41NyBLQglOL0EKMQkxXzUJMAk4AUcIZXEoDUocMjIsIDEwNCkZUQgwLjMdUxAJMTQuMBFEKDIJMTFfNgkwCTEwAUY8dGFibGU6VEFCTEVTCTgxOA2TDDA4LjQZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NzA4LjRtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw0MC4zGVIMMnDwbz5RAAhAAOFCUQAACA1OCDhaEwmZBDQxHUV4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:13.641 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=6.87416ms] [gotSchemaVersion=62] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:13.688 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=62] [2024/05/23 09:18:13.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=62] ["take time"=54.961232ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958612599570432, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:13.961 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958612599570432, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:13.965 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=107] [table=t] [index=idx1] [2024/05/23 09:18:14.050 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=15.569629ms] [gotSchemaVersion=63] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:14.098 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=63] [2024/05/23 09:18:14.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=63] ["take time"=67.991994ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:14.238 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:14.269 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000002ff] [2024/05/23 09:18:14.360 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=107] [2024/05/23 09:18:14.529 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958613947252736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:14.561 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=107] [2024/05/23 09:18:14.561 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958613947252736, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000685f69ffff000000000002,EndKey:7480000000000000685f69ffff000000000002ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:18:14.602 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000002] ["end key"=7480000000000000685f69ffff000000000002ff] [2024/05/23 09:18:14.603 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000002ff] [2024/05/23 09:18:14.609 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000002ff] ["current end key"=7480000000000000685f69ffff00000000000200] [2024/05/23 09:18:14.609 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=107] [2024/05/23 09:18:14.610 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000002, 7480000000000000685f69ffff00000000000200), jobID: 107"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000020000] ["take time"=969.589µs] [2024/05/23 09:18:14.610 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=107] [2024/05/23 09:18:14.610 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=107] [2024/05/23 09:18:14.610 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=107] [2024/05/23 09:18:14.610 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000002] [2024/05/23 09:18:14.611 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:15.340 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.717087947\n# Parse_time: 0\n# Compile_time: 0.004461419\n# Rewrite_time: 0.000863462\n# Optimize_time: 0.001112923\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003251\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NzEwLjZtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkVUxAwOS45bRlTEAkxNC4wEUQoMgkxMV82CTAJMTABjzx0YWJsZTpUQUJMRVMJODE4CZUQNjk0LjQZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6Njk0LjRtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkNUhA3MDkuORlSDDJw8G8+UQAIQADhQlEAAAgNTgA4EUcMMTAuNh1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:18:15.347 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:18:15.483 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=6.365987ms] [gotSchemaVersion=64] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:15.518 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=64] [2024/05/23 09:18:15.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=64] ["take time"=42.554059ms] [job="ID:107, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958613947252736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:15.644 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=107] [tableID=104] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:18:15.662 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="add index"] [2024/05/23 09:18:15.667 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=107] [conn=1] [job="ID:107, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:07.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958613947252736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:15.803 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=107] [elementID=1] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000003] [2024/05/23 09:18:15.887 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:18:15.887 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:15.890 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 8.004559294\n# Parse_time: 0.006323572\n# Compile_time: 0.00154243\n# Rewrite_time: 0.000019507\n# Optimize_time: 0.000667557\n# Wait_TS: 0.000169985\n# DB: test\n# Is_internal: false\n# Digest: 133e1e2016471787d90cfce0c738d87e18307c71355b259b0f42ef38ea6d70fc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx1(c, a);"] [2024/05/23 09:18:15.893 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=64] [cur_db=test] [sql="alter table t add index idx2(a);"] [user=] [2024/05/23 09:18:15.937 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:18:15.937 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:108, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx2(a);"] [2024/05/23 09:18:16.242 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:16.245 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"idx2\",\"L\":\"idx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"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/23 09:18:16.416 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=6.150202ms] [gotSchemaVersion=65] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:16.432 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=65] [2024/05/23 09:18:16.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=65] ["take time"=26.75884ms] [job="ID:108, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:16.563 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:16.615 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=6.733054ms] [gotSchemaVersion=66] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:16.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=66] [2024/05/23 09:18:16.632 +00:00] [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"=24.761874ms] [job="ID:108, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:16.864 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:16.919 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=6.564964ms] [gotSchemaVersion=67] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:16.939 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=67] [2024/05/23 09:18:16.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=67] ["take time"=39.844076ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:17.100 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:17.115 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=108] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:18:17.119 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=108] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:18:17.232 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=108] [2024/05/23 09:18:17.323 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958614693314560, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:17.327 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=108] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:18:17.652 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/108] [2024/05/23 09:18:18.311 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.656650973\n# Parse_time: 0\n# Compile_time: 0.004421889\n# Rewrite_time: 0.000794194\n# Optimize_time: 0.001043314\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003397\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NjUwLjJtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkVUxA0OS40bRlTEAkxNC4wEUR4MgkxMV82CTAJMTAwMDAJdGFibGU6VEFCTEVTCTgxOA2VDDIxLjYZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NjIxLjZtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw0OS40GVIMMnDwbz5RAAhAAOFCUQAACA1OADkRRww1MC4yHUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:18.312 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:18:18.583 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=3] [2024/05/23 09:18:18.584 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:18:19.097 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:18:19.097 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:18:19.125 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=3] [curr-step=init] [next-step=read-index] [2024/05/23 09:18:19.138 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:18:19.449 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=3] [type=backfill] [remaining-slots=12] [2024/05/23 09:18:19.917 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=3] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:18:19.931 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=108] [2024/05/23 09:18:19.960 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:18:20.136 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:18:20.137 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=108] [indexIDs="[3]"] [2024/05/23 09:18:20.139 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=3] [subtask-id=3] [jobID=108] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:18:20.139 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:18:20.139 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:18:20.140 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:18:20.140 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:18:20.140 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:18:20.140 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=3] [subtask-id=3] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:18:20.144 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f698000000000000003038000000000000001038000000000000001] [idxVal=30] [2024/05/23 09:18:20.145 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f698000000000000003038000000000000002038000000000000002] [idxVal=30] [2024/05/23 09:18:20.145 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f698000000000000003038000000000000003038000000000000003] [idxVal=30] [2024/05/23 09:18:20.145 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=3] [subtask-id=3] [id=1] [2024/05/23 09:18:20.145 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:18:20.369 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:18:20.372 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=108] [] [2024/05/23 09:18:20.372 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=3] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=455.343681ms] [] [2024/05/23 09:18:20.630 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=3] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:18:20.681 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=3] [type=backfill] [2024/05/23 09:18:20.836 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:21.098 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2024/05/23 09:18:21.252 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:18:21.253 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=3] [2024/05/23 09:18:21.466 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:18:21.516 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.674174488\n# Parse_time: 0\n# Compile_time: 0.004902228\n# Rewrite_time: 0.00085861\n# Optimize_time: 0.001110038\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000004105\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwWDAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjY3LjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCTgwMDAJZXEoDUwcMjIsIDEwNCkZUww2LjZtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQw1OS45GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NjU5LjltcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw2Ni42GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwg3LjMdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:18:21.629 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=6.533333ms] [gotSchemaVersion=68] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:21.651 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=68] [2024/05/23 09:18:21.655 +00:00] [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"=33.254065ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958614693314560, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:21.786 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958614693314560, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:21.790 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=108] [table=t] [index=idx2] [2024/05/23 09:18:21.832 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=6.754197ms] [gotSchemaVersion=69] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:21.849 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=69] [2024/05/23 09:18:21.852 +00:00] [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"=27.485207ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:21.958 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:21.963 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=108] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000003ff] [2024/05/23 09:18:22.044 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=108] [2024/05/23 09:18:22.179 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958615964188672, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:22.233 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=108] [2024/05/23 09:18:22.232 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958615964188672, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000685f69ffff000000000003,EndKey:7480000000000000685f69ffff000000000003ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:18:22.246 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000003] ["end key"=7480000000000000685f69ffff000000000003ff] [2024/05/23 09:18:22.246 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000003ff] [2024/05/23 09:18:22.252 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000003ff] ["current end key"=7480000000000000685f69ffff00000000000300] [2024/05/23 09:18:22.252 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=108] [2024/05/23 09:18:22.254 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000003, 7480000000000000685f69ffff00000000000300), jobID: 108"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000030000] ["take time"=964.063µs] [2024/05/23 09:18:22.254 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=108] [2024/05/23 09:18:22.254 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=108] [2024/05/23 09:18:22.254 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=108] [2024/05/23 09:18:22.254 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000003] [2024/05/23 09:18:22.254 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:22.773 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.515315629\n# Parse_time: 0\n# Compile_time: 0.004105656\n# Rewrite_time: 0.000774705\n# Optimize_time: 0.001071013\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002942\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NTA5LjNtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww4LjZtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgJlRA0OTUuNBlCNDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDk1LjRtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkNUhA1MDguNhlSDDJw8G8+UQAIQADhQlEAAAgNTgA4FUcIOS4zHUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:22.777 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:18:22.849 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=6.949034ms] [gotSchemaVersion=70] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:22.866 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=70] [2024/05/23 09:18:22.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=70] ["take time"=38.481887ms] [job="ID:108, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958615964188672, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:22.971 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=108] [tableID=104] [indexIDs="[9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:18:22.982 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="add index"] [2024/05/23 09:18:22.990 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=108] [conn=1] [job="ID:108, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:15.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958615964188672, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:23.041 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=108] [elementID=1] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000004] [2024/05/23 09:18:23.137 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/23 09:18:23.137 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:23.139 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 7.248703611\n# Parse_time: 0.000684956\n# Compile_time: 0.001640047\n# Rewrite_time: 0.000021611\n# Optimize_time: 0.000667557\n# Wait_TS: 0.000147721\n# DB: test\n# Is_internal: false\n# Digest: bd909f172fca139ffd608664494cb9ed439d0e1ca8c83c8155c2c8692a2d81fe\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx2(a);"] [2024/05/23 09:18:23.148 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=70] [cur_db=test] [sql="alter table t add index idx3(d);"] [user=] [2024/05/23 09:18:23.239 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:18:23.240 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx3(d);"] [2024/05/23 09:18:23.349 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:23.352 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"idx3\",\"L\":\"idx3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"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/23 09:18:23.427 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=6.583655ms] [gotSchemaVersion=71] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:23.450 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=71] [2024/05/23 09:18:23.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=71] ["take time"=34.227975ms] [job="ID:109, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:23.578 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:23.625 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=5.708642ms] [gotSchemaVersion=72] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:23.641 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=72] [2024/05/23 09:18:23.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=72] ["take time"=24.04262ms] [job="ID:109, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:23.742 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:23.837 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=7.043278ms] [gotSchemaVersion=73] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:23.895 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=73] [2024/05/23 09:18:23.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=73] ["take time"=75.429141ms] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:24.026 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:24.031 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=109] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:18:24.036 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=109] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:18:24.124 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=109] [2024/05/23 09:18:24.187 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958616506564608, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:24.191 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=109] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:18:24.308 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/109] [2024/05/23 09:18:24.716 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.405035555\n# Parse_time: 0\n# Compile_time: 0.004714698\n# Rewrite_time: 0.000788795\n# Optimize_time: 0.001107528\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003063\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6Mzk4LjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww3LjhtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQw4Ny42GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6Mzg3LjZtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw5Ny44GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwg4LjUdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:18:24.716 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:18:24.985 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=4] [2024/05/23 09:18:24.985 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:18:25.498 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:18:25.498 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:18:25.501 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=4] [curr-step=init] [next-step=read-index] [2024/05/23 09:18:25.506 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:18:25.672 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=4] [type=backfill] [remaining-slots=12] [2024/05/23 09:18:26.022 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=4] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:18:26.026 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=109] [2024/05/23 09:18:26.031 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:18:26.128 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:18:26.129 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=109] [indexIDs="[4]"] [2024/05/23 09:18:26.144 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=4] [subtask-id=4] [jobID=109] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:18:26.144 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:18:26.144 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:18:26.144 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:18:26.144 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:18:26.144 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:18:26.145 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=4] [subtask-id=4] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:18:26.151 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=4] [subtask-id=4] [id=1] [2024/05/23 09:18:26.152 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000403800000000000000c038000000000000001] [idxVal=30] [2024/05/23 09:18:26.162 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000403800000000000000e038000000000000002] [idxVal=30] [2024/05/23 09:18:26.162 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f698000000000000004038000000000000010038000000000000003] [idxVal=30] [2024/05/23 09:18:26.163 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:18:26.333 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:18:26.336 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=109] [] [2024/05/23 09:18:26.336 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=4] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=313.759399ms] [] [2024/05/23 09:18:26.586 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=4] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:18:26.646 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=4] [type=backfill] [2024/05/23 09:18:26.794 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:27.007 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2024/05/23 09:18:27.126 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:18:27.126 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=4] [2024/05/23 09:18:27.270 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:18:27.458 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.660393766\n# Parse_time: 0\n# Compile_time: 0.011640892\n# Rewrite_time: 0.000813646\n# Optimize_time: 0.001235854\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003485\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjQ2LjhtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkuUwAEMW0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VDDM5LjcZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NjM5LjdtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw0Ni4xGVIMMnDwbz5RAAhAAOFCUQAACA1OADgdRwA4HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:27.531 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=7.112289ms] [gotSchemaVersion=74] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:27.555 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=74] [2024/05/23 09:18:27.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=74] ["take time"=50.841677ms] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958616506564608, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:27.811 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958616506564608, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:27.848 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=109] [table=t] [index=idx3] [2024/05/23 09:18:28.009 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=26.236845ms] [gotSchemaVersion=75] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:28.055 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=75] [2024/05/23 09:18:28.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=75] ["take time"=74.294998ms] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:28.148 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:28.164 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=109] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000004] [endKey=7480000000000000685f69ffff000000000004ff] [2024/05/23 09:18:28.238 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=109] [2024/05/23 09:18:28.434 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958617589743616, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:28.458 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=109] [2024/05/23 09:18:28.458 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958617589743616, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000685f69ffff000000000004,EndKey:7480000000000000685f69ffff000000000004ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:18:28.490 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000004] ["end key"=7480000000000000685f69ffff000000000004ff] [2024/05/23 09:18:28.490 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000004] [endKey=7480000000000000685f69ffff000000000004ff] [2024/05/23 09:18:28.497 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000004ff] ["current end key"=7480000000000000685f69ffff00000000000400] [2024/05/23 09:18:28.497 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=109] [2024/05/23 09:18:28.497 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=109] [2024/05/23 09:18:28.497 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=109] [2024/05/23 09:18:28.498 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000004, 7480000000000000685f69ffff00000000000400), jobID: 109"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000040000] ["take time"=919.373µs] [2024/05/23 09:18:28.498 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=109] [2024/05/23 09:18:28.498 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000004] [2024/05/23 09:18:28.499 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:28.857 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.35514117\n# Parse_time: 0\n# Compile_time: 0.014712583\n# Rewrite_time: 0.01117906\n# Optimize_time: 0.00120983\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003684\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6MzM4LjZtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww3LjltGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgRlQAxLkIANDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzMxLjltcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkVUgA3LlIADDJw8G8+UQAIQADhQlEAAAgNTgA4FUcIOC42GZl8MmINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:18:28.861 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:18:28.997 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=6.993915ms] [gotSchemaVersion=76] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:29.044 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=76] [2024/05/23 09:18:29.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=76] ["take time"=109.516158ms] [job="ID:109, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958617589743616, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:29.349 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=109] [tableID=104] [indexIDs="[9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:18:29.365 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=109] [jobType="add index"] [2024/05/23 09:18:29.370 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=109] [conn=1] [job="ID:109, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:23.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958617589743616, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:29.531 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=109] [elementID=1] [startKey=7480000000000000685f69ffff000000000004] [endKey=7480000000000000685f69ffff000000000005] [2024/05/23 09:18:29.594 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:18:29.594 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:29.597 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 6.456973562\n# Parse_time: 0.006745313\n# Compile_time: 0.001574129\n# Rewrite_time: 0.000021184\n# Optimize_time: 0.000667557\n# Wait_TS: 0.000178572\n# DB: test\n# Is_internal: false\n# Digest: f878fe69f23ee8cd687fbc18a75f518104f32e3c92c91dd582e502074c8ad29c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx3(d);"] [2024/05/23 09:18:29.605 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=76] [cur_db=test] [sql="alter table t add index idx4(d, c);"] [user=] [2024/05/23 09:18:29.648 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:18:29.648 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx4(d, c);"] [2024/05/23 09:18:29.850 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:29.854 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":5,\"idx_name\":{\"O\":\"idx4\",\"L\":\"idx4\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"length\":-1},{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:18:29.932 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=7.343494ms] [gotSchemaVersion=77] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:29.961 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=77] [2024/05/23 09:18:29.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=77] ["take time"=37.355331ms] [job="ID:110, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:30.101 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:30.156 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=7.332085ms] [gotSchemaVersion=78] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:30.173 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=78] [2024/05/23 09:18:30.175 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=27.409629ms] [job="ID:110, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:30.379 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:30.445 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=11.956504ms] [gotSchemaVersion=79] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:30.464 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=79] [2024/05/23 09:18:30.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=79] ["take time"=34.640071ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:30.657 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:30.662 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=t] ["ingest mode"=true] [index=idx4] [2024/05/23 09:18:30.674 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=110] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000300] [2024/05/23 09:18:30.823 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:18:31.059 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958618246938624, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:31.066 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=t] ["ingest mode"=true] [index=idx4] [2024/05/23 09:18:31.158 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/110] [2024/05/23 09:18:31.652 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.49086873\n# Parse_time: 0\n# Compile_time: 0.005025231\n# Rewrite_time: 0.000901928\n# Optimize_time: 0.001160387\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003463\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NDc5bXMsIGxvb3BzOjIsIENvbmN1cnJlbmN5OjUJNS41NyBLQglOL0EKMQkxXzUJMAk4AUcIZXEoDUocMjIsIDEwNCkZUQg4LjQdUxAJMTQuMBFEeDIJMTFfNgkwCTEwMDAwCXRhYmxlOlRBQkxFUwk4MTgRkwAyLkIANDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDcyLjRtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkVUgA4LlIADDJw8G8+UQAIQADhQlEAAAgNTgg5WhMNmQA5GZd8MmINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:18:31.653 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=104] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:18:31.939 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=5] [2024/05/23 09:18:31.940 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:18:32.448 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:18:32.448 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:18:32.457 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=5] [curr-step=init] [next-step=read-index] [2024/05/23 09:18:32.462 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:18:32.983 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=5] [type=backfill] [remaining-slots=12] [2024/05/23 09:18:33.435 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=5] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:18:33.440 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=110] [2024/05/23 09:18:33.455 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:18:33.639 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:18:33.651 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=110] [indexIDs="[5]"] [2024/05/23 09:18:33.661 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=5] [subtask-id=5] [jobID=110] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:18:33.661 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:18:33.661 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:18:33.661 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:18:33.661 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:18:33.661 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000300] [2024/05/23 09:18:33.662 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=5] [subtask-id=5] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000685f728000000000000001, endKey=7480000000000000685f72800000000000000300"] [2024/05/23 09:18:33.668 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=5] [subtask-id=5] [id=1] [2024/05/23 09:18:33.668 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000503800000000000000c03800000000000000b038000000000000001] [idxVal=30] [2024/05/23 09:18:33.669 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000503800000000000000e03800000000000000c038000000000000002] [idxVal=30] [2024/05/23 09:18:33.669 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000685f69800000000000000503800000000000001003800000000000000d038000000000000003] [idxVal=30] [2024/05/23 09:18:33.669 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:18:33.827 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:18:33.830 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=110] [] [2024/05/23 09:18:33.830 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=5] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=394.608161ms] [] [2024/05/23 09:18:33.996 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=5] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:18:34.185 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=5] [type=backfill] [2024/05/23 09:18:34.389 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:34.463 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2024/05/23 09:18:34.528 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:18:34.528 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=5] [2024/05/23 09:18:34.683 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:18:35.045 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.65184873\n# Parse_time: 0\n# Compile_time: 0.004303552\n# Rewrite_time: 0.000851854\n# Optimize_time: 0.001050851\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00000316\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjQ1LjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkZUww0LjltGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwzNi4zGUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NjM2LjNtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNCkRUgw0NC45GVIMMnDwbz5RAAhAAOFCUQAACA1OADgVRwg1LjcdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:18:35.100 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=8.049267ms] [gotSchemaVersion=80] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:35.118 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=80] [2024/05/23 09:18:35.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=80] ["take time"=28.956348ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958618246938624, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:35.260 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958618246938624, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:35.265 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=110] [table=t] [index=idx4] [2024/05/23 09:18:35.321 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=7.336012ms] [gotSchemaVersion=81] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:35.338 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=81] [2024/05/23 09:18:35.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=81] ["take time"=26.216162ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:35.452 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:35.465 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=110] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000005] [endKey=7480000000000000685f69ffff000000000005ff] [2024/05/23 09:18:35.643 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:18:35.872 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958619503656960, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:35.896 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=110] [2024/05/23 09:18:35.896 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958619503656960, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:5,StartKey:7480000000000000685f69ffff000000000005,EndKey:7480000000000000685f69ffff000000000005ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:18:35.911 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000005] ["end key"=7480000000000000685f69ffff000000000005ff] [2024/05/23 09:18:35.912 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000005] [endKey=7480000000000000685f69ffff000000000005ff] [2024/05/23 09:18:35.918 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000005ff] ["current end key"=7480000000000000685f69ffff00000000000500] [2024/05/23 09:18:35.918 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/23 09:18:35.920 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/23 09:18:35.920 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/23 09:18:35.925 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000005, 7480000000000000685f69ffff00000000000500), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000050000] ["take time"=6.824433ms] [2024/05/23 09:18:35.925 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/23 09:18:35.925 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:5,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000685f69ffff000000000005] [2024/05/23 09:18:35.926 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:36.245 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.315892686\n# Parse_time: 0\n# Compile_time: 0.004399598\n# Rewrite_time: 0.000774673\n# Optimize_time: 0.001131992\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596900\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003069\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6MzA5LjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDEwNCkdUwBtGVEQCTE0LjARQigyCTExXzYJMAkxMAGNPHRhYmxlOlRBQkxFUwk4MTgRkwgyLjgZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzAyLjhtcywgbG9vcHM6M3Cwn2B4////CQIEASEBVQwATN1ACV94QL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDEwNClaEw1SADkZUAwycPBvPk8ACEAA4UJPAAAIDUwAOBWXCDkuNx1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:18:36.249 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:18:36.394 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=7.016404ms] [gotSchemaVersion=82] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:36.419 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=82] [2024/05/23 09:18:36.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=82] ["take time"=35.055215ms] [job="ID:110, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958619503656960, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:36.631 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=104] [indexIDs="[9223090561878065157]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:18:36.650 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="add index"] [2024/05/23 09:18:36.655 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=110] [conn=1] [job="ID:110, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:29.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958619503656960, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:36.727 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=1] [startKey=7480000000000000685f69ffff000000000005] [endKey=7480000000000000685f69ffff000000000006] [2024/05/23 09:18:36.862 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/23 09:18:36.862 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:36.865 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 7.26673479\n# Parse_time: 0.000841921\n# Compile_time: 0.006283393\n# Rewrite_time: 0.000023596\n# Optimize_time: 0.000667557\n# Wait_TS: 0.000161849\n# DB: test\n# Is_internal: false\n# Digest: 6699e60118413e94eff0c725df2a007bd768722f882178ff3fe745e763734d20\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx4(d, c);"] [2024/05/23 09:18:36.908 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + 10)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + 10)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:18:36.908 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx1] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + 10, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + 10, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx1`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:18:36.928 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx2] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx2`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:18:37.131 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx3] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + `c`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + `c`)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx3`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:18:37.164 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=t] ["index name"=idx4] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + `c`, `b` + 10)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `a`, `b` + `c`, `b` + 10)))), ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx4`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `a`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:18:37.260 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.37389757\n# Parse_time: 0.000400345\n# Compile_time: 0.010898045\n# Rewrite_time: 0.009460429\n# Optimize_time: 0.009476537\n# Wait_TS: 0\n# DB: test\n# Is_internal: false\n# Digest: 7c3601a87f8e8649d48b8c975011ecfc25ac54159d3e69528ea761ab6ab18d65\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nadmin check table t;"] [2024/05/23 09:18:37.331 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=82] [cur_db=test] [sql="drop table if exists t;"] [user=] [2024/05/23 09:18:37.386 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:18:37.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:18:37.386 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:18:37.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"] [2024/05/23 09:18:37.577 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:37.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:37.684 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=2.161853ms] [gotSchemaVersion=83] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:18:37.727 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=83] [2024/05/23 09:18:37.731 +00:00] [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"=50.167647ms] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:18:37.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:37.836 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:37.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:37.877 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=524.878µs] [gotSchemaVersion=84] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:18:37.901 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=84] [2024/05/23 09:18:37.902 +00:00] [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"=26.287853ms] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:37.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:38.169 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:37.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:38.292 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=461.356µs] [gotSchemaVersion=85] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:18:38.309 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=85] [2024/05/23 09:18:38.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=85] ["take time"=18.35086ms] [job="ID:111, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:18:37.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:38.677 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=111] [tableIDs="[104]"] [comment="drop table: table ID"] [2024/05/23 09:18:38.699 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=111] [jobType="drop table"] [2024/05/23 09:18:38.705 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [job="ID:111, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:18:37.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:38.831 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=111] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/23 09:18:38.954 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/23 09:18:38.954 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:38.957 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.6278441240000001\n# Parse_time: 0.000763134\n# Compile_time: 0.001342031\n# Rewrite_time: 0.000014325\n# Optimize_time: 0.000278976\n# Wait_TS: 0.000171505\n# DB: test\n# Is_internal: false\n# Digest: 293123a5976f55d0b9cd979cd8b74ca6ac90429498766df23f5b51fcc0399f24\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ndrop table if exists t;"] [2024/05/23 09:18:38.961 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=85] [cur_db=test] [sql="create table t (a int, b char(10), c char(10) as (concat(b, 'x')), d int, e char(20) as (c));"] [user=] [2024/05/23 09:18:39.041 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:18:38.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:18:39.041 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:18:38.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b char(10), c char(10) as (concat(b, 'x')), d int, e char(20) as (c));"] [2024/05/23 09:18:39.197 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=113] [conn=1] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:38.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:39.354 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=5.098784ms] [gotSchemaVersion=86] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:18:39.377 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=86] [2024/05/23 09:18:39.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=86] ["take time"=30.415875ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:18:38.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:39.513 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=113] [conn=1] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:38.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:18:39.580 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/23 09:18:39.581 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:39.583 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.625531537\n# Parse_time: 0.002015468\n# Compile_time: 0.002093773\n# Rewrite_time: 0.000015106\n# Optimize_time: 0.000278976\n# Wait_TS: 0.000155584\n# DB: test\n# Is_internal: false\n# Digest: c4fc2c6e7a01885cbbe031757fd81d39efba3f37041197a8eeaac600919df24e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncreate table t (a int, b char(10), c char(10) as (concat(b, 'x')), d int, e char(20) as (c));"] [2024/05/23 09:18:39.613 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=86] [cur_db=test] [sql="alter table t add index idx(c);"] [user=] [2024/05/23 09:18:39.647 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:18:39.647 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx(c);"] [2024/05/23 09:18:39.817 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:39.820 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:18:39.897 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=10.027724ms] [gotSchemaVersion=87] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:39.927 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=87] [2024/05/23 09:18:39.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=87] ["take time"=41.17973ms] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:40.170 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:40.292 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=88] ["start time"=10.519071ms] [gotSchemaVersion=88] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:40.328 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=88] [2024/05/23 09:18:40.328 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=63.37624ms] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:40.493 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:40.550 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=88] [neededSchemaVersion=89] ["start time"=5.611561ms] [gotSchemaVersion=89] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:40.604 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=89] [2024/05/23 09:18:40.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=89] ["take time"=64.841626ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:40.851 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:40.855 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:18:40.859 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:18:40.946 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/23 09:18:41.063 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958620916875264, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:41.067 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:18:41.222 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/114] [2024/05/23 09:18:41.775 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.550214251\n# Parse_time: 0\n# Compile_time: 0.004514191\n# Rewrite_time: 0.00094765\n# Optimize_time: 0.001185275\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00000294\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NTQzLjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikdUwBtGVEQCTE0LjARQigyCTExXzYJMAkxMAGNPHRhYmxlOlRBQkxFUwk4MTgNkwwzNy40GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTM3LjRtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV94QL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMilaEwlSBDQzGVAMMnDwbz5PAAhAAOFCTwAACA1MADkRlww0My43HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:41.776 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=112] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:18:42.067 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=6] [2024/05/23 09:18:42.068 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:18:42.577 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:18:42.578 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:18:42.580 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=6] [curr-step=init] [next-step=read-index] [2024/05/23 09:18:42.619 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:18:43.089 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=6] [type=backfill] [remaining-slots=12] [2024/05/23 09:18:43.463 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=6] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:18:43.467 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=114] [2024/05/23 09:18:43.472 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:18:43.536 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:18:43.538 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=114] [indexIDs="[1]"] [2024/05/23 09:18:43.549 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=6] [subtask-id=6] [jobID=114] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:18:43.550 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:18:43.550 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:18:43.550 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:18:43.550 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:18:43.550 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:18:43.551 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=6] [subtask-id=6] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000705f728000000000000001, endKey=7480000000000000705f72800000000000000300"] [2024/05/23 09:18:43.555 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=6] [subtask-id=6] [id=1] [2024/05/23 09:18:43.556 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000001013178000000000000f9038000000000000001] [idxVal=30] [2024/05/23 09:18:43.556 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000001013278000000000000f9038000000000000002] [idxVal=30] [2024/05/23 09:18:43.557 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000001013378000000000000f9038000000000000003] [idxVal=30] [2024/05/23 09:18:43.558 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:18:43.685 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:18:43.689 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=114] [] [2024/05/23 09:18:43.689 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=6] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=225.969379ms] [] [2024/05/23 09:18:44.127 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=6] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:18:44.400 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=6] [type=backfill] [2024/05/23 09:18:44.539 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:44.580 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2024/05/23 09:18:44.627 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:18:44.627 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=6] [2024/05/23 09:18:44.887 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:18:45.238 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.694962878\n# Parse_time: 0\n# Compile_time: 0.005975017\n# Rewrite_time: 0.00245503\n# Optimize_time: 0.001058978\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003916\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6Njg1LjltcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikuUwAEMm0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VBDczGUA0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZAoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWoc2NoZW1hEgZUQUJMRVNaE3RpbWU6NjczbXMsIGxvb3BzOjNwpZ9geP///wkCBAEhAVMMAEzdQAldeEC/QDABOAFAAVISZXEoQ29sdW1uIzIyLCAxMTIpWhUJUAw4NS4yGVIMMnDwbz5RAAhAAOFCUQAACA1OADgdRwA5HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:45.340 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=6.46144ms] [gotSchemaVersion=90] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:45.361 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=90] [2024/05/23 09:18:45.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=90] ["take time"=31.748892ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958620916875264, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:45.606 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958620916875264, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:45.611 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=114] [table=t] [index=idx] [2024/05/23 09:18:45.664 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=7.529265ms] [gotSchemaVersion=91] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:45.729 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=91] [2024/05/23 09:18:45.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=91] ["take time"=76.868855ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:45.893 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:45.897 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=112] [startKey=7480000000000000705f69ffff000000000001] [endKey=7480000000000000705f69ffff000000000001ff] [2024/05/23 09:18:45.995 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/23 09:18:46.170 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958622238343168, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:46.200 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=114] [2024/05/23 09:18:46.200 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958622238343168, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000705f69ffff000000000001,EndKey:7480000000000000705f69ffff000000000001ff,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/23 09:18:46.220 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f69ffff000000000001] ["end key"=7480000000000000705f69ffff000000000001ff] [2024/05/23 09:18:46.220 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f69ffff000000000001] [endKey=7480000000000000705f69ffff000000000001ff] [2024/05/23 09:18:46.241 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f69ffff000000000001ff] ["current end key"=7480000000000000705f69ffff00000000000100] [2024/05/23 09:18:46.243 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=114] [2024/05/23 09:18:46.243 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=114] [2024/05/23 09:18:46.243 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=114] [2024/05/23 09:18:46.244 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f69ffff000000000001, 7480000000000000705f69ffff00000000000100), jobID: 114"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000705f69ffff0000000000010000] ["take time"=1.631776ms] [2024/05/23 09:18:46.244 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=114] [2024/05/23 09:18:46.244 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000705f69ffff000000000001] [2024/05/23 09:18:46.245 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:46.865 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.616709888\n# Parse_time: 0\n# Compile_time: 0.00381631\n# Rewrite_time: 0.000749103\n# Optimize_time: 0.001130443\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000001855\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjExbXMsIGxvb3BzOjIsIENvbmN1cnJlbmN5OjUJNS41NyBLQglOL0EKMQkxXzUJMAk4AUcIZXEoDUocMjIsIDExMikZUQgwLjIdUxAJMTQuMBFEKDIJMTFfNgkwCTEwAUY8dGFibGU6VEFCTEVTCTgxOA2TDDA0LjMZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NjA0LjNtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgwxMC4yGVIMMnDwbz5RAAhAAOFCUQAACA1OCDhaEwmZBDExHUV4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:46.869 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:18:46.943 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=5.942933ms] [gotSchemaVersion=92] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:47.028 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=92] [2024/05/23 09:18:47.031 +00:00] [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"=94.714305ms] [job="ID:114, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958622238343168, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:47.155 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=114] [tableID=112] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:18:47.166 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="add index"] [2024/05/23 09:18:47.171 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=1] [job="ID:114, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:39.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958622238343168, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:47.217 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=1] [startKey=7480000000000000705f69ffff000000000001] [endKey=7480000000000000705f69ffff000000000002] [2024/05/23 09:18:47.480 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/23 09:18:47.480 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:47.482 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 7.87192715\n# Parse_time: 0.000680747\n# Compile_time: 0.001622471\n# Rewrite_time: 0.000034521\n# Optimize_time: 0.000278976\n# Wait_TS: 0.000140865\n# DB: test\n# Is_internal: false\n# Digest: f056cb3128d4ab402e1c24ca2ef0bc40a6686bd6e0f9612004534b4fb0b9458d\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx(c);"] [2024/05/23 09:18:47.486 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=92] [cur_db=test] [sql="alter table t add index idx1(a, c);"] [user=] [2024/05/23 09:18:47.563 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:18:47.563 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx1(a, c);"] [2024/05/23 09:18:47.775 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:47.778 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx1\",\"L\":\"idx1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:18:47.878 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=6.034876ms] [gotSchemaVersion=93] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:47.925 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=93] [2024/05/23 09:18:47.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=93] ["take time"=62.995952ms] [job="ID:115, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:48.071 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:48.150 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=9.30618ms] [gotSchemaVersion=94] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:48.201 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=94] [2024/05/23 09:18:48.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=94] ["take time"=62.158256ms] [job="ID:115, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:48.327 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:48.427 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=44.738618ms] [gotSchemaVersion=95] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:48.455 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=95] [2024/05/23 09:18:48.455 +00:00] [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"=73.613364ms] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:48.643 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:48.647 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=115] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:18:48.652 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:18:48.868 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=115] [2024/05/23 09:18:48.932 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958622959501312, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:48.936 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=115] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:18:49.115 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/115] [2024/05/23 09:18:49.658 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.539522128\n# Parse_time: 0\n# Compile_time: 0.004349644\n# Rewrite_time: 0.000801104\n# Optimize_time: 0.001071028\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003249\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NTMzLjJtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwwyLjVtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwyNi44GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTI2LjhtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgwzMi41GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwgzLjIdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:18:49.659 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=112] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:18:50.005 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=7] [2024/05/23 09:18:50.006 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:18:50.544 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:18:50.544 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:18:50.554 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=7] [curr-step=init] [next-step=read-index] [2024/05/23 09:18:50.559 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:18:50.894 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=7] [type=backfill] [remaining-slots=12] [2024/05/23 09:18:51.273 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=7] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:18:51.277 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=115] [2024/05/23 09:18:51.282 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:18:51.423 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:18:51.424 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=115] [indexIDs="[2]"] [2024/05/23 09:18:51.453 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=7] [subtask-id=7] [jobID=115] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:18:51.454 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:18:51.454 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:18:51.454 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:18:51.454 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:18:51.454 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:18:51.455 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=7] [subtask-id=7] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000705f728000000000000001, endKey=7480000000000000705f72800000000000000300"] [2024/05/23 09:18:51.461 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000002038000000000000001013178000000000000f9038000000000000001] [idxVal=30] [2024/05/23 09:18:51.461 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=7] [subtask-id=7] [id=1] [2024/05/23 09:18:51.461 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000002038000000000000002013278000000000000f9038000000000000002] [idxVal=30] [2024/05/23 09:18:51.461 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000002038000000000000003013378000000000000f9038000000000000003] [idxVal=30] [2024/05/23 09:18:51.462 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:18:51.546 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=7] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:18:51.569 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:18:51.575 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=115] [] [2024/05/23 09:18:51.575 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=7] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=301.447834ms] [] [2024/05/23 09:18:51.860 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:51.885 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=7] [type=backfill] [2024/05/23 09:18:52.022 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2024/05/23 09:18:52.072 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:18:52.072 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=7] [2024/05/23 09:18:52.282 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:18:52.726 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.862993808\n# Parse_time: 0\n# Compile_time: 0.01547453\n# Rewrite_time: 0.000921949\n# Optimize_time: 0.001217229\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003411\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6ODQ1LjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUww0LjZtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQwzOC4zGUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6ODM4LjNtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV90QL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMilaDVIMNDQuNhlSDDJw8G8+UQAIQADhQlEAAAgNTgA4FUcINS41HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:52.785 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=6.480393ms] [gotSchemaVersion=96] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:52.803 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=96] [2024/05/23 09:18:52.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=96] ["take time"=26.396394ms] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958622959501312, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:52.920 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958622959501312, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:52.926 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=115] [table=t] [index=idx1] [2024/05/23 09:18:52.999 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=36.849322ms] [gotSchemaVersion=97] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:53.054 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=97] [2024/05/23 09:18:53.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=97] ["take time"=98.169685ms] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:53.183 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:53.200 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=112] [startKey=7480000000000000705f69ffff000000000002] [endKey=7480000000000000705f69ffff000000000002ff] [2024/05/23 09:18:53.294 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=115] [2024/05/23 09:18:53.387 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958624152780800, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:53.418 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=115] [2024/05/23 09:18:53.418 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958624152780800, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000705f69ffff000000000002,EndKey:7480000000000000705f69ffff000000000002ff,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/23 09:18:53.432 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f69ffff000000000002] ["end key"=7480000000000000705f69ffff000000000002ff] [2024/05/23 09:18:53.432 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f69ffff000000000002] [endKey=7480000000000000705f69ffff000000000002ff] [2024/05/23 09:18:53.438 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f69ffff000000000002ff] ["current end key"=7480000000000000705f69ffff00000000000200] [2024/05/23 09:18:53.439 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=115] [2024/05/23 09:18:53.439 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=115] [2024/05/23 09:18:53.439 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=115] [2024/05/23 09:18:53.440 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f69ffff000000000002, 7480000000000000705f69ffff00000000000200), jobID: 115"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000705f69ffff0000000000020000] ["take time"=896.858µs] [2024/05/23 09:18:53.440 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=115] [2024/05/23 09:18:53.440 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000705f69ffff000000000002] [2024/05/23 09:18:53.441 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:53.823 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.379740922\n# Parse_time: 0\n# Compile_time: 0.004096742\n# Rewrite_time: 0.000788134\n# Optimize_time: 0.001017945\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003109\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6MzczLjhtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikuUwAEMW0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VDDYyLjcZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzYyLjdtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgw3My4xGVIMMnDwbz5RAAhAAOFCUQAACA1OADgdRwA4HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:18:53.835 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:18:53.945 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=6.639647ms] [gotSchemaVersion=98] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:54.041 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=98] [2024/05/23 09:18:54.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=98] ["take time"=104.182491ms] [job="ID:115, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958624152780800, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:54.062 +00:00] [INFO] [mvcc.go:1246] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449958624377176064] ["min commit ts"=449958624377962497] [key="dIAA///////7X3KAAAAAAAAAcw=="] [2024/05/23 09:18:54.062 +00:00] [INFO] [commit.go:160] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449958624376127488] [info="{StartTs:449958624376127488 AttemptedCommitTs:449958624377176064 Key:748000fffffffffffb5f728000000000000073 MinCommitTs:449958624377962497}"] [2024/05/23 09:18:54.226 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=115] [tableID=112] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:18:54.239 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="add index"] [2024/05/23 09:18:54.244 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=1] [job="ID:115, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:47.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958624152780800, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:54.373 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=115] [elementID=1] [startKey=7480000000000000705f69ffff000000000002] [endKey=7480000000000000705f69ffff000000000003] [2024/05/23 09:18:54.454 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/23 09:18:54.454 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:18:54.457 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 6.973356654\n# Parse_time: 0.001026945\n# Compile_time: 0.001866965\n# Rewrite_time: 0.000027395\n# Optimize_time: 0.000278976\n# Wait_TS: 0.000156661\n# DB: test\n# Is_internal: false\n# Digest: 95a43a4dd28df0111dd9112fd7a10ac171fc1c2006114915a87dc68ea8e547b9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx1(a, c);"] [2024/05/23 09:18:54.460 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=98] [cur_db=test] [sql="alter table t add index idx2(c(7));"] [user=] [2024/05/23 09:18:54.498 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:18:54.498 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx2(c(7));"] [2024/05/23 09:18:54.570 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:54.573 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"idx2\",\"L\":\"idx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"length\":7}],\"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/23 09:18:54.630 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=6.764471ms] [gotSchemaVersion=99] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:54.662 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=99] [2024/05/23 09:18: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=99] ["take time"=40.201435ms] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:54.795 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:54.853 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=6.724003ms] [gotSchemaVersion=100] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:54.869 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=100] [2024/05/23 09:18:54.880 +00:00] [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"=35.022684ms] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:55.037 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:55.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=100] [neededSchemaVersion=101] ["start time"=15.241448ms] [gotSchemaVersion=101] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:55.127 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=101] [2024/05/23 09:18:55.133 +00:00] [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"=46.761589ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:55.373 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:55.389 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:18:55.393 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:18:55.487 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/23 09:18:55.652 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958624726876160, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:55.656 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:18:55.743 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/116] [2024/05/23 09:18:56.139 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.39338299\n# Parse_time: 0\n# Compile_time: 0.005238652\n# Rewrite_time: 0.000839867\n# Optimize_time: 0.001097059\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002725\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6Mzg2LjRtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUww1LjdtGVMQCTE0LjARRHgyCTExXzYJMAkxMDAwMAl0YWJsZTpUQUJMRVMJODE4EZUIMC44GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzgwLjhtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikVUgg1LjcZUgwycPBvPlEACEAA4UJRAAAIDU4AORVHCDYuNB1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:18:56.140 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=112] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:18:56.506 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=8] [2024/05/23 09:18:56.507 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:18:57.026 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:18:57.026 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:18:57.042 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=8] [curr-step=init] [next-step=read-index] [2024/05/23 09:18:57.066 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:18:57.451 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=8] [type=backfill] [remaining-slots=12] [2024/05/23 09:18:57.799 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=8] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:18:57.804 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=116] [2024/05/23 09:18:57.809 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:18:57.905 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:18:57.906 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=116] [indexIDs="[3]"] [2024/05/23 09:18:57.917 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=8] [subtask-id=8] [jobID=116] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:18:57.917 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:18:57.917 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:18:57.917 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:18:57.917 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:18:57.917 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:18:57.918 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=8] [subtask-id=8] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000705f728000000000000001, endKey=7480000000000000705f72800000000000000300"] [2024/05/23 09:18:57.923 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000003013178000000000000f9038000000000000001] [idxVal=30] [2024/05/23 09:18:57.926 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=8] [subtask-id=8] [id=1] [2024/05/23 09:18:57.928 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000003013278000000000000f9038000000000000002] [idxVal=30] [2024/05/23 09:18:57.928 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000003013378000000000000f9038000000000000003] [idxVal=30] [2024/05/23 09:18:57.929 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:18:58.077 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=8] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:18:58.219 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:18:58.226 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=116] [] [2024/05/23 09:18:58.226 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=8] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=426.671016ms] [] [2024/05/23 09:18:58.531 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2024/05/23 09:18:58.569 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=8] [type=backfill] [2024/05/23 09:18:58.590 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:18:58.590 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=8] [2024/05/23 09:18:58.600 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:18:58.761 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:18:59.187 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.584047409\n# Parse_time: 0\n# Compile_time: 0.04421088\n# Rewrite_time: 0.000873202\n# Optimize_time: 0.029393514\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003065\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NTM4LjFtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUww3LjRtGVMQCTE0LjARRHgyCTExXzYJMAkxMDAwMAl0YWJsZTpUQUJMRVMJODE4EZUIMS41GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NTMxLjVtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikVUgg3LjQZUgwycPBvPlEACEAA4UJRAAAIDU4AOBVHCDguMR1HeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:18:59.252 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=101] [neededSchemaVersion=102] ["start time"=17.478574ms] [gotSchemaVersion=102] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:59.321 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=102] [2024/05/23 09:18:59.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=102] ["take time"=96.720691ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958624726876160, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:59.572 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958624726876160, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:59.578 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=116] [table=t] [index=idx2] [2024/05/23 09:18:59.710 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=102] [neededSchemaVersion=103] ["start time"=7.912952ms] [gotSchemaVersion=103] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:18:59.745 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=103] [2024/05/23 09:18:59.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=103] ["take time"=45.147583ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:59.950 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:18:59.961 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=112] [startKey=7480000000000000705f69ffff000000000003] [endKey=7480000000000000705f69ffff000000000003ff] [2024/05/23 09:19:00.036 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/23 09:19:00.135 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958625925136384, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:00.205 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=116] [2024/05/23 09:19:00.204 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958625925136384, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000705f69ffff000000000003,EndKey:7480000000000000705f69ffff000000000003ff,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/23 09:19:00.232 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f69ffff000000000003] ["end key"=7480000000000000705f69ffff000000000003ff] [2024/05/23 09:19:00.233 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f69ffff000000000003] [endKey=7480000000000000705f69ffff000000000003ff] [2024/05/23 09:19:00.240 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f69ffff000000000003ff] ["current end key"=7480000000000000705f69ffff00000000000300] [2024/05/23 09:19:00.240 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=116] [2024/05/23 09:19:00.241 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f69ffff000000000003, 7480000000000000705f69ffff00000000000300), jobID: 116"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000705f69ffff0000000000030000] ["take time"=977.55µs] [2024/05/23 09:19:00.241 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=116] [2024/05/23 09:19:00.242 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=116] [2024/05/23 09:19:00.242 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=116] [2024/05/23 09:19:00.242 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000705f69ffff000000000003] [2024/05/23 09:19:00.242 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:00.711 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.465831553\n# Parse_time: 0\n# Compile_time: 0.024014248\n# Rewrite_time: 0.019525556\n# Optimize_time: 0.001100142\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003906\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NDM5LjltcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikuUwAEMW0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VCDIzLh1CNDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDIzLjFtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgQzOS5SAAwycPBvPlEACEAA4UJRAAAIDU4AOB1HADkZmXwyYg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:19:00.735 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:19:00.827 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=103] [neededSchemaVersion=104] ["start time"=11.317755ms] [gotSchemaVersion=104] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:00.844 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=104] [2024/05/23 09:19:00.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=104] ["take time"=28.97695ms] [job="ID:116, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958625925136384, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:01.165 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=116] [tableID=112] [indexIDs="[9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:19:01.184 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="add index"] [2024/05/23 09:19:01.190 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=116] [conn=1] [job="ID:116, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:18:54.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958625925136384, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:01.226 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=1] [startKey=7480000000000000705f69ffff000000000003] [endKey=7480000000000000705f69ffff000000000004] [2024/05/23 09:19:01.344 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/23 09:19:01.344 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:19:01.346 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 6.888817061\n# Parse_time: 0.001070306\n# Compile_time: 0.001863235\n# Rewrite_time: 0.000021399\n# Optimize_time: 0.000278976\n# Wait_TS: 0.000161716\n# DB: test\n# Is_internal: false\n# Digest: e23d0d2e2aeeb337401bbbc38c4fa3249c8950ef591190ce6698db1278cdb446\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx2(c(7));"] [2024/05/23 09:19:01.349 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=104] [cur_db=test] [sql="alter table t add index idx3(e(5));"] [user=] [2024/05/23 09:19:01.405 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:19:01.405 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx3(e(5));"] [2024/05/23 09:19:01.493 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:01.496 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"idx3\",\"L\":\"idx3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"e\",\"L\":\"e\"},\"offset\":4,\"length\":5}],\"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/23 09:19:01.563 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=104] [neededSchemaVersion=105] ["start time"=6.911459ms] [gotSchemaVersion=105] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:01.581 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=105] [2024/05/23 09:19:01.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=105] ["take time"=28.624548ms] [job="ID:117, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:01.739 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:01.814 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=105] [neededSchemaVersion=106] ["start time"=19.934823ms] [gotSchemaVersion=106] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:01.830 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=106] [2024/05/23 09:19:01.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=106] ["take time"=38.912604ms] [job="ID:117, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:02.035 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:02.081 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=106] [neededSchemaVersion=107] ["start time"=6.815917ms] [gotSchemaVersion=107] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:02.099 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=107] [2024/05/23 09:19:02.099 +00:00] [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"=25.720168ms] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:02.205 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:02.209 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=117] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:19:02.214 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=117] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:19:02.282 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=117] [2024/05/23 09:19:02.500 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958626514960384, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:02.505 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=117] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:19:02.787 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/117] [2024/05/23 09:19:03.556 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.759423763\n# Parse_time: 0\n# Compile_time: 0.004496328\n# Rewrite_time: 0.000831824\n# Optimize_time: 0.001094739\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003068\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NzUzLjFtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwwyLjRtGVMQCTE0LjARRHgyCTExXzYJMAkxMDAwMAl0YWJsZTpUQUJMRVMJODE4DZUINDYuHZU0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NzQ2LjFtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgw1Mi40GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwAzLpkAfDJiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:19:03.556 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=112] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:19:03.938 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=9] [2024/05/23 09:19:03.939 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:19:04.447 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:19:04.448 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:19:04.451 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=9] [curr-step=init] [next-step=read-index] [2024/05/23 09:19:04.456 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:19:05.106 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=9] [type=backfill] [remaining-slots=12] [2024/05/23 09:19:05.539 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=9] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:19:05.545 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=117] [2024/05/23 09:19:05.564 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:19:05.791 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:19:05.792 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=117] [indexIDs="[4]"] [2024/05/23 09:19:05.843 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=9] [subtask-id=9] [jobID=117] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:19:05.843 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:19:05.843 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:19:05.844 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:19:05.844 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:19:05.844 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:19:05.844 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=9] [subtask-id=9] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000705f728000000000000001, endKey=7480000000000000705f72800000000000000300"] [2024/05/23 09:19:05.849 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000004013178000000000000f9038000000000000001] [idxVal=30] [2024/05/23 09:19:05.850 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000004013278000000000000f9038000000000000002] [idxVal=30] [2024/05/23 09:19:05.850 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000705f698000000000000004013378000000000000f9038000000000000003] [idxVal=30] [2024/05/23 09:19:05.851 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=9] [subtask-id=9] [id=1] [2024/05/23 09:19:05.851 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:19:05.935 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:19:05.937 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=117] [] [2024/05/23 09:19:05.937 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=9] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=397.760865ms] [] [2024/05/23 09:19:05.973 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=9] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:19:06.247 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=9] [type=backfill] [2024/05/23 09:19:06.455 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=9] [2024/05/23 09:19:06.507 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:06.534 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:19:06.535 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=9] [2024/05/23 09:19:06.766 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:19:07.177 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.662885215\n# Parse_time: 0\n# Compile_time: 0.004466631\n# Rewrite_time: 0.000883526\n# Optimize_time: 0.001122761\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003268\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NjUwLjltcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikuUwAEMW0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VBDQ0GUA0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZAoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWoc2NoZW1hEgZUQUJMRVNaE3RpbWU6NjQ0bXMsIGxvb3BzOjNwpZ9geP///wkCBAEhAVMMAEzdQAldeEC/QDABOAFAAVISZXEoQ29sdW1uIzIyLCAxMTIpWhUJUAw1MC4xGVIMMnDwbz5RAAhAAOFCUQAACA1OADgdRwA5HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:19:07.246 +00:00] [INFO] [mvcc.go:1246] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449958627832496128] ["min commit ts"=449958627834331137] [key=bURCOjIAAAAA+wAAAAAAAABoVGFibGU6MTH/MgAAAAAAAAD4] [2024/05/23 09:19:07.246 +00:00] [INFO] [commit.go:160] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449958626590457856] [info="{StartTs:449958626590457856 AttemptedCommitTs:449958627832496128 Key:6d44423a3200000000fb00000000000000685461626c653a3131ff3200000000000000f8 MinCommitTs:449958627834331137}"] [2024/05/23 09:19:07.292 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=107] [neededSchemaVersion=108] ["start time"=17.663279ms] [gotSchemaVersion=108] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:07.360 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=108] [2024/05/23 09:19:07.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=108] ["take time"=112.774773ms] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958626514960384, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:07.423 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958626514960384, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:07.435 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=117] [table=t] [index=idx3] [2024/05/23 09:19:07.505 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=108] [neededSchemaVersion=109] ["start time"=6.981866ms] [gotSchemaVersion=109] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:07.542 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=109] [2024/05/23 09:19:07.542 +00:00] [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"=45.685434ms] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:07.672 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:07.678 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=117] [physicalTableID=112] [startKey=7480000000000000705f69ffff000000000004] [endKey=7480000000000000705f69ffff000000000004ff] [2024/05/23 09:19:07.795 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=117] [2024/05/23 09:19:07.897 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958627947839488, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:07.952 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=117] [2024/05/23 09:19:07.952 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:117, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958627947839488, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000705f69ffff000000000004,EndKey:7480000000000000705f69ffff000000000004ff,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/23 09:19:07.967 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f69ffff000000000004] ["end key"=7480000000000000705f69ffff000000000004ff] [2024/05/23 09:19:07.967 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f69ffff000000000004] [endKey=7480000000000000705f69ffff000000000004ff] [2024/05/23 09:19:07.974 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f69ffff000000000004ff] ["current end key"=7480000000000000705f69ffff00000000000400] [2024/05/23 09:19:07.974 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=117] [2024/05/23 09:19:07.975 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f69ffff000000000004, 7480000000000000705f69ffff00000000000400), jobID: 117"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000705f69ffff0000000000040000] ["take time"=1.006974ms] [2024/05/23 09:19:07.975 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=117] [2024/05/23 09:19:07.975 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=117] [2024/05/23 09:19:07.975 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=117] [2024/05/23 09:19:07.975 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000705f69ffff000000000004] [2024/05/23 09:19:07.976 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:08.485 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.50627708\n# Parse_time: 0\n# Compile_time: 0.021718438\n# Rewrite_time: 0.000857775\n# Optimize_time: 0.001132874\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596889\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003853\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NDgyLjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExMikZUwwxLjhtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQQ3MC5CADQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDcwLjhtcywgbG9vcHM6M3Cln2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExMikRUgQ4MS5SAAwycPBvPlEACEAA4UJRAAAIDU4AOBVHCDIuNxmZfDJiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:19:08.495 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:19:08.682 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=109] [neededSchemaVersion=110] ["start time"=13.118809ms] [gotSchemaVersion=110] [phyTblIDs="[112]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:08.702 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=110] [2024/05/23 09:19:08.702 +00:00] [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"=34.398625ms] [job="ID:117, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958627947839488, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:08.850 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=117] [tableID=112] [indexIDs="[9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:19:08.861 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="add index"] [2024/05/23 09:19:08.866 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=117] [conn=1] [job="ID:117, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:01.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958627947839488, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:08.923 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=117] [elementID=1] [startKey=7480000000000000705f69ffff000000000004] [endKey=7480000000000000705f69ffff000000000005] [2024/05/23 09:19:09.052 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/23 09:19:09.052 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:19:09.054 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 7.707175058\n# Parse_time: 0.000880132\n# Compile_time: 0.001770803\n# Rewrite_time: 0.000020441\n# Optimize_time: 0.000278976\n# Wait_TS: 0.000123854\n# DB: test\n# Is_internal: false\n# Digest: cb2c7dc50aca7a192aabf69ad92d0794e7456073ef8bd519e2b6fcbb8b676d06\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx3(e(5));"] [2024/05/23 09:19:09.263 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:19:09.306 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:19:09.310 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx\""] [idxCnt=3] [2024/05/23 09:19:09.350 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:19:09.358 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx1\""] [idxCnt=3] [2024/05/23 09:19:09.374 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:19:09.391 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx2\""] [idxCnt=3] [2024/05/23 09:19:09.426 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=110] [2024/05/23 09:19:09.431 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx3\""] [idxCnt=3] [2024/05/23 09:19:09.472 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449958628348919808\n# Conn_ID: 1\n# Query_time: 0.377761154\n# Parse_time: 0.000439313\n# Compile_time: 0.111667625\n# Rewrite_time: 0.01864217\n# Optimize_time: 0.003454533\n# Wait_TS: 0.000213287\n# Cop_time: 0.022120434 Process_time: 0.012 Request_count: 8\n# DB: test\n# Is_internal: false\n# Digest: 7c3601a87f8e8649d48b8c975011ecfc25ac54159d3e69528ea761ab6ab18d65\n# Stats: t:pseudo[10000;0]\n# Num_cop_tasks: 8\n# Cop_proc_avg: 0.0015 Cop_proc_p90: 0.009 Cop_proc_max: 0.009 Cop_proc_addr: store1\n# Cop_wait_avg: 0 Cop_wait_p90: 0 Cop_wait_max: 0 Cop_wait_addr: store1\n# Mem_max: 288\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nadmin check table t;"] [2024/05/23 09:19:09.531 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=110] [cur_db=test] [sql="drop table if exists t;"] [user=] [2024/05/23 09:19:09.583 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:19:09.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:19:09.583 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:19:09.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"] [2024/05/23 09:19:09.719 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=118] [conn=1] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:09.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:09.798 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=110] [neededSchemaVersion=111] ["start time"=2.009155ms] [gotSchemaVersion=111] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:19:09.815 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=111] [2024/05/23 09:19:09.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=111] ["take time"=20.046961ms] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:19:09.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:10.024 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=118] [conn=1] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:09.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:10.134 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=111] [neededSchemaVersion=112] ["start time"=479.613µs] [gotSchemaVersion=112] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:19:10.179 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=112] [2024/05/23 09:19:10.181 +00:00] [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"=48.996924ms] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:09.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:10.313 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=118] [conn=1] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:09.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:10.484 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=112] [neededSchemaVersion=113] ["start time"=498.287µs] [gotSchemaVersion=113] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:19:10.511 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=113] [2024/05/23 09:19:10.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=113] ["take time"=30.52438ms] [job="ID:118, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-23 09:19:09.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:10.650 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=118] [tableIDs="[112]"] [comment="drop table: table ID"] [2024/05/23 09:19:10.676 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="drop table"] [2024/05/23 09:19:10.682 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=118] [conn=1] [job="ID:118, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-23 09:19:09.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:10.849 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/23 09:19:10.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:19:10.851 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 1.321813184\n# Parse_time: 0.00046745\n# Compile_time: 0.001200909\n# Rewrite_time: 0.000014624\n# Optimize_time: 0.000280198\n# Wait_TS: 0.000131181\n# DB: test\n# Is_internal: false\n# Digest: 293123a5976f55d0b9cd979cd8b74ca6ac90429498766df23f5b51fcc0399f24\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ndrop table if exists t;"] [2024/05/23 09:19:10.857 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=113] [cur_db=test] [sql="create table t (a int, b char(10), c tinyint, d int as (a + c), e bigint as (d - a), primary key(b, a) clustered);"] [user=] [2024/05/23 09:19:10.893 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=1] [startKey=748000000000000070] [endKey=748000000000000071] [2024/05/23 09:19:10.956 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-23 09:19:10.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:19:10.956 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-23 09:19:10.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b char(10), c tinyint, d int as (a + c), e bigint as (d - a), primary key(b, a) clustered);"] [2024/05/23 09:19:11.105 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=120] [conn=1] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:10.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:11.317 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=113] [neededSchemaVersion=114] ["start time"=5.48086ms] [gotSchemaVersion=114] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:19:11.335 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=114] [2024/05/23 09:19:11.368 +00:00] [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"=57.460238ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-23 09:19:10.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:11.615 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=120] [conn=1] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:10.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:19:11.750 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/23 09:19:11.750 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:19:11.752 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.9003225\n# Parse_time: 0.002296018\n# Compile_time: 0.003069682\n# Rewrite_time: 0.000020845\n# Optimize_time: 0.000280198\n# Wait_TS: 0.00015166\n# DB: test\n# Is_internal: false\n# Digest: 976565f53e30147855a5e5fe4a4d032586f45a8b814047abade5d13ff0c58c2e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncreate table t (a int, b char(10), c tinyint, d int as (a + c), e bigint as (d - a), primary key(b, a) clustered);"] [2024/05/23 09:19:11.798 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=114] [cur_db=test] [sql="alter table t add index idx(d);"] [user=] [2024/05/23 09:19:11.870 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:19:11.870 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:121, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx(d);"] [2024/05/23 09:19:11.944 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:11.947 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"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/23 09:19:12.075 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=114] [neededSchemaVersion=115] ["start time"=6.809317ms] [gotSchemaVersion=115] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:12.101 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=115] [2024/05/23 09:19:12.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=115] ["take time"=37.387147ms] [job="ID:121, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:12.311 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:12.471 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=115] [neededSchemaVersion=116] ["start time"=7.15542ms] [gotSchemaVersion=116] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:12.508 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=116] [2024/05/23 09:19:12.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=116] ["take time"=46.149266ms] [job="ID:121, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:12.701 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:12.779 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=116] [neededSchemaVersion=117] ["start time"=11.969956ms] [gotSchemaVersion=117] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:12.797 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=117] [2024/05/23 09:19:12.801 +00:00] [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"=46.153449ms] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:13.139 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:13.143 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=121] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:19:13.156 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=121] [physicalTableID=119] [startKey=7480000000000000775f72013100000000000000f8038000000000000001] [endKey=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:19:13.241 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/23 09:19:13.476 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958629380980736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:13.480 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=121] [table=t] ["ingest mode"=true] [index=idx] [2024/05/23 09:19:13.656 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/121] [2024/05/23 09:19:14.459 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.800683398\n# Parse_time: 0\n# Compile_time: 0.004237933\n# Rewrite_time: 0.00073924\n# Optimize_time: 0.001069773\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00000299\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6NzgxLjVtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkZUwwwLjdtGVMQCTE0LjARRCgyCTExXzYJMAkxMAGPPHRhYmxlOlRBQkxFUwk4MTgNlQg3NC4dlTQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6Nzc0LjVtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkRUgw4MC43GVIMMnDwbz5RAAhAAOFCUQAACA1OADkVRwAxLpkAfDJiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:19:14.460 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=119] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:19:14.887 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=10] [2024/05/23 09:19:14.888 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:19:15.398 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:19:15.398 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:19:15.401 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=10] [curr-step=init] [next-step=read-index] [2024/05/23 09:19:15.407 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:19:15.965 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=10] [type=backfill] [remaining-slots=12] [2024/05/23 09:19:16.323 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=10] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:19:16.328 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=121] [2024/05/23 09:19:16.334 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:19:16.405 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:19:16.406 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=121] [indexIDs="[2]"] [2024/05/23 09:19:16.416 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=10] [subtask-id=10] [jobID=121] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:19:16.417 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:19:16.417 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:19:16.417 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:19:16.417 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:19:16.417 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f72013100000000000000f8038000000000000001] ["end key"=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:19:16.418 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=10] [subtask-id=10] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000775f72013100000000000000f8038000000000000001, endKey=7480000000000000775f72013300000000000000f803800000000000000300"] [2024/05/23 09:19:16.422 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000002038000000000000002013100000000000000f8038000000000000001] [idxVal=007d01] [2024/05/23 09:19:16.423 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000002038000000000000004013200000000000000f8038000000000000002] [idxVal=007d01] [2024/05/23 09:19:16.423 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000002038000000000000006013300000000000000f8038000000000000003] [idxVal=007d01] [2024/05/23 09:19:16.424 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=10] [subtask-id=10] [id=1] [2024/05/23 09:19:16.424 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:19:16.535 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:19:16.537 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=121] [] [2024/05/23 09:19:16.537 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=10] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=214.615457ms] [] [2024/05/23 09:19:16.981 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=10] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:19:17.245 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=10] [type=backfill] [2024/05/23 09:19:17.379 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:17.406 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=10] [2024/05/23 09:19:17.456 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:19:17.457 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=10] [2024/05/23 09:19:17.625 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:19:17.834 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.450992085\n# Parse_time: 0\n# Compile_time: 0.004313868\n# Rewrite_time: 0.000796024\n# Optimize_time: 0.001017753\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002707\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NDQ0LjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkdUwBtGVEQCTE0LjARQngyCTExXzYJMAkxMDAwMAl0YWJsZTpUQUJMRVMJODE4DZMMMzYuOBlCNDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NDM2LjhtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV94QL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSlaEwlSBDQ0GVAMMnDwbz5PAAhAAOFCTwAACA1MADgRlww0NC43HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:19:17.883 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=117] [neededSchemaVersion=118] ["start time"=8.713743ms] [gotSchemaVersion=118] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:17.901 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=118] [2024/05/23 09:19:17.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=118] ["take time"=28.163664ms] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958629380980736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:18.116 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958629380980736, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:18.120 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=121] [table=t] [index=idx] [2024/05/23 09:19:18.199 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=118] [neededSchemaVersion=119] ["start time"=6.507078ms] [gotSchemaVersion=119] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:18.216 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=119] [2024/05/23 09:19:18.221 +00:00] [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"=28.734855ms] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:18.346 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:18.351 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=121] [physicalTableID=119] [startKey=7480000000000000775f69ffff000000000002] [endKey=7480000000000000775f69ffff000000000002ff] [2024/05/23 09:19:18.458 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/23 09:19:18.580 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=121] [conn=1] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958630745964544, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:18.605 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=121] [2024/05/23 09:19:18.605 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958630745964544, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000775f69ffff000000000002,EndKey:7480000000000000775f69ffff000000000002ff,First:false,PhysicalTableID:119,Ingest mode:false"] [2024/05/23 09:19:18.619 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f69ffff000000000002] ["end key"=7480000000000000775f69ffff000000000002ff] [2024/05/23 09:19:18.619 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000775f69ffff000000000002] [endKey=7480000000000000775f69ffff000000000002ff] [2024/05/23 09:19:18.627 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=119] ["end key"=7480000000000000775f69ffff000000000002ff] ["current end key"=7480000000000000775f69ffff00000000000200] [2024/05/23 09:19:18.627 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=121] [2024/05/23 09:19:18.627 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=121] [2024/05/23 09:19:18.627 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=121] [2024/05/23 09:19:18.628 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 119, range: [7480000000000000775f69ffff000000000002, 7480000000000000775f69ffff00000000000200), jobID: 121"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000775f69ffff0000000000020000] ["take time"=986µs] [2024/05/23 09:19:18.628 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=121] [2024/05/23 09:19:18.629 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000775f69ffff000000000002] [2024/05/23 09:19:18.629 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:19.415 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.783697127\n# Parse_time: 0\n# Compile_time: 0.004189114\n# Rewrite_time: 0.000791512\n# Optimize_time: 0.001141077\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002394\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6NzcwLjFtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkVUxA2OS40bRlTEAkxNC4wEUR4MgkxMV82CTAJMTAwMDAJdGFibGU6VEFCTEVTCTgxOA2VBDYzLkIANDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6NzYzLjRtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkVUgA5LlIADDJw8G8+UQAIQADhQlEAAAgNTgA4EUcMNzAuMRmZfDJiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:19:19.420 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:19:19.496 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=119] [neededSchemaVersion=120] ["start time"=6.970241ms] [gotSchemaVersion=120] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:19.513 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=120] [2024/05/23 09:19:19.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=120] ["take time"=28.792059ms] [job="ID:121, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958630745964544, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:19.710 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=121] [tableID=119] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:19:19.732 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="add index"] [2024/05/23 09:19:19.738 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=1] [job="ID:121, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958630745964544, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:19.818 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=1] [startKey=7480000000000000775f69ffff000000000002] [endKey=7480000000000000775f69ffff000000000003] [2024/05/23 09:19:19.952 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/23 09:19:19.952 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:19:19.954 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 8.158080752\n# Parse_time: 0.000659501\n# Compile_time: 0.001683027\n# Rewrite_time: 0.000020388\n# Optimize_time: 0.000280198\n# Wait_TS: 0.000139769\n# DB: test\n# Is_internal: false\n# Digest: 36101c50b1c81b4c8a5e69d209777ba5186e328ac50452584c223a1570633163\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx(d);"] [2024/05/23 09:19:19.959 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=120] [cur_db=test] [sql="alter table t add index idx1(b(2), d);"] [user=] [2024/05/23 09:19:20.008 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:19:20.008 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx1(b(2), d);"] [2024/05/23 09:19:20.106 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:20.109 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"idx1\",\"L\":\"idx1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"b\",\"L\":\"b\"},\"offset\":1,\"length\":2},{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"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/23 09:19:20.208 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=120] [neededSchemaVersion=121] ["start time"=7.065656ms] [gotSchemaVersion=121] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:20.239 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=121] [2024/05/23 09:19:20.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=121] ["take time"=39.065747ms] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:20.465 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:20.621 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=121] [neededSchemaVersion=122] ["start time"=7.435907ms] [gotSchemaVersion=122] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:20.661 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=122] [2024/05/23 09:19:20.661 +00:00] [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"=48.585426ms] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:20.800 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:20.847 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=122] [neededSchemaVersion=123] ["start time"=5.927183ms] [gotSchemaVersion=123] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:20.877 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=123] [2024/05/23 09:19:20.877 +00:00] [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"=37.71549ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:21.045 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:21.050 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:19:21.055 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=119] [startKey=7480000000000000775f72013100000000000000f8038000000000000001] [endKey=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:19:21.135 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=122] [2024/05/23 09:19:21.407 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958631453753344, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:21.411 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=idx1] [2024/05/23 09:19:21.535 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/122] [2024/05/23 09:19:22.362 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.82494461\n# Parse_time: 0\n# Compile_time: 0.004507071\n# Rewrite_time: 0.000885537\n# Optimize_time: 0.001121181\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000002691\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6ODA4LjhtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkdUwBtGVEQCTE0LjARQigyCTExXzYJMAkxMAGNPHRhYmxlOlRBQkxFUwk4MTgRkwgxLjcZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6ODAxLjdtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV94QL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSlaEw1SADgZUAwycPBvPk8ACEAA4UJPAAAIDUwAORWXBDguLkcAeGINQ29uY3VycmVuY3k6NXDELHj///////////8BGAE=')\n# Resource_group: default\n;"] [2024/05/23 09:19:22.363 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=119] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:19:22.558 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=11] [2024/05/23 09:19:22.558 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:19:23.078 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:19:23.078 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:19:23.081 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=11] [curr-step=init] [next-step=read-index] [2024/05/23 09:19:23.109 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:19:23.598 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=11] [type=backfill] [remaining-slots=12] [2024/05/23 09:19:23.943 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=11] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:19:23.947 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=122] [2024/05/23 09:19:23.951 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:19:24.008 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:19:24.009 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=122] [indexIDs="[3]"] [2024/05/23 09:19:24.019 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=11] [subtask-id=11] [jobID=122] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:19:24.020 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:19:24.020 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:19:24.020 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:19:24.020 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:19:24.020 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f72013100000000000000f8038000000000000001] ["end key"=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:19:24.021 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=11] [subtask-id=11] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000775f72013100000000000000f8038000000000000001, endKey=7480000000000000775f72013300000000000000f803800000000000000300"] [2024/05/23 09:19:24.025 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=11] [subtask-id=11] [id=1] [2024/05/23 09:19:24.025 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000003013100000000000000f8038000000000000002013100000000000000f8038000000000000001] [idxVal=007d01] [2024/05/23 09:19:24.026 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000003013200000000000000f8038000000000000004013200000000000000f8038000000000000002] [idxVal=007d01] [2024/05/23 09:19:24.026 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000003013300000000000000f8038000000000000006013300000000000000f8038000000000000003] [idxVal=007d01] [2024/05/23 09:19:24.026 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:19:24.089 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=11] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:19:24.101 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:19:24.104 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=122] [] [2024/05/23 09:19:24.104 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=11] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=160.741965ms] [] [2024/05/23 09:19:24.394 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:24.411 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=11] [type=backfill] [2024/05/23 09:19:24.566 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=11] [2024/05/23 09:19:24.599 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:19:24.599 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=11] [2024/05/23 09:19:24.730 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:19:24.739 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=123] [neededSchemaVersion=124] ["start time"=7.3166ms] [gotSchemaVersion=124] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:24.756 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=124] [2024/05/23 09:19:24.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=124] ["take time"=26.092293ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958631453753344, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:24.859 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958631453753344, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:24.863 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=122] [table=t] [index=idx1] [2024/05/23 09:19:24.899 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=124] [neededSchemaVersion=125] ["start time"=6.60902ms] [gotSchemaVersion=125] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:24.924 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=125] [2024/05/23 09:19:24.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=125] ["take time"=34.324126ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:24.996 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:25.001 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=119] [startKey=7480000000000000775f69ffff000000000003] [endKey=7480000000000000775f69ffff000000000003ff] [2024/05/23 09:19:25.053 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=122] [2024/05/23 09:19:25.131 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=122] [conn=1] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958632489222144, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:25.153 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=122] [2024/05/23 09:19:25.153 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958632489222144, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000775f69ffff000000000003,EndKey:7480000000000000775f69ffff000000000003ff,First:false,PhysicalTableID:119,Ingest mode:false"] [2024/05/23 09:19:25.167 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f69ffff000000000003] ["end key"=7480000000000000775f69ffff000000000003ff] [2024/05/23 09:19:25.168 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000775f69ffff000000000003] [endKey=7480000000000000775f69ffff000000000003ff] [2024/05/23 09:19:25.174 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=119] ["end key"=7480000000000000775f69ffff000000000003ff] ["current end key"=7480000000000000775f69ffff00000000000300] [2024/05/23 09:19:25.175 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=122] [2024/05/23 09:19:25.175 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=122] [2024/05/23 09:19:25.175 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=122] [2024/05/23 09:19:25.176 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [task="taskID: 1, physicalTableID: 119, range: [7480000000000000775f69ffff000000000003, 7480000000000000775f69ffff00000000000300), jobID: 122"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000775f69ffff0000000000030000] ["take time"=964.031µs] [2024/05/23 09:19:25.176 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=122] [2024/05/23 09:19:25.176 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000775f69ffff000000000003] [2024/05/23 09:19:25.176 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:25.443 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:19:25.518 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=125] [neededSchemaVersion=126] ["start time"=7.090256ms] [gotSchemaVersion=126] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:25.533 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=126] [2024/05/23 09:19:25.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=126] ["take time"=30.575893ms] [job="ID:122, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958632489222144, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:25.662 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=122] [tableID=119] [indexIDs="[9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:19:25.670 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add index"] [2024/05/23 09:19:25.675 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=122] [conn=1] [job="ID:122, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:19.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958632489222144, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:25.710 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=122] [elementID=1] [startKey=7480000000000000775f69ffff000000000003] [endKey=7480000000000000775f69ffff000000000004] [2024/05/23 09:19:25.778 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=122] [2024/05/23 09:19:25.778 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:19:25.780 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 5.82507928\n# Parse_time: 0.001660998\n# Compile_time: 0.001909155\n# Rewrite_time: 0.000021504\n# Optimize_time: 0.000280198\n# Wait_TS: 0.000136458\n# DB: test\n# Is_internal: false\n# Digest: 5487ad3c4e01f6d243731081b527041cba425d03dfa8aefcb27d78a9baa8059b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx1(b(2), d);"] [2024/05/23 09:19:25.784 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=126] [cur_db=test] [sql="alter table t add index idx2(d, c);"] [user=] [2024/05/23 09:19:25.813 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:19:25.813 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:123, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx2(d, c);"] [2024/05/23 09:19:25.886 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:25.889 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"idx2\",\"L\":\"idx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"length\":-1},{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"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/23 09:19:25.928 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=126] [neededSchemaVersion=127] ["start time"=6.859304ms] [gotSchemaVersion=127] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:25.945 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=127] [2024/05/23 09:19:25.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=127] ["take time"=26.599364ms] [job="ID:123, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:26.029 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:26.072 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=127] [neededSchemaVersion=128] ["start time"=7.262448ms] [gotSchemaVersion=128] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:26.088 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=128] [2024/05/23 09:19:26.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=128] ["take time"=24.088866ms] [job="ID:123, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:26.166 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:26.213 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=128] [neededSchemaVersion=129] ["start time"=7.085412ms] [gotSchemaVersion=129] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:26.228 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=129] [2024/05/23 09:19:26.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=129] ["take time"=26.139586ms] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:26.310 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:26.315 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:19:26.319 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=123] [physicalTableID=119] [startKey=7480000000000000775f72013100000000000000f8038000000000000001] [endKey=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:19:26.365 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/23 09:19:26.443 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958632833679360, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:26.447 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=true] [index=idx2] [2024/05/23 09:19:26.539 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/123] [2024/05/23 09:19:26.868 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.32714252\n# Parse_time: 0\n# Compile_time: 0.004683629\n# Rewrite_time: 0.000805644\n# Optimize_time: 0.001075336\n# Wait_TS: 0\n# Is_internal: true\n# Digest: ba9e7241986991acf6340eede6c123537219f1cbf66664e6fd7abdc4ac91af3a\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003069\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('ywHwTzAJM180CTAJODAwMAlDb2x1bW4jOQkxCXRpbWU6MzIwLjZtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkdUwBtGVEQCTE0LjARQigyCTExXzYJMAkxMAGNPHRhYmxlOlRBQkxFUwk4MTgNkwQxNBlANDMJMS41MCBNQglOL0EK')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('rgJgCqkCCgxQcm9qZWN0aW9uXzQSwgEKC1NlbA0QUDUSZAoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWoc2NoZW1hEgZUQUJMRVNaE3RpbWU6MzE0bXMsIGxvb3BzOjNwop9geP///wkCBAEhAVMMAEzdQAldcEC/QDABOAFAAVISZXEoQ29sdW1uIzIyLCAxMTkpEVAIMjBtFVAMMnDwbz5PAAhAAOFCTwAACA1MCDlaFQmVDDIwLjYdR3hiDUNvbmN1cnJlbmN5OjVwxCx4////////////ARgB')\n# Resource_group: default\n;"] [2024/05/23 09:19:26.869 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=119] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:19:27.035 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=12] [2024/05/23 09:19:27.035 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:19:27.543 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:19:27.543 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:19:27.547 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=12] [curr-step=init] [next-step=read-index] [2024/05/23 09:19:27.552 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:19:27.742 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=12] [type=backfill] [remaining-slots=12] [2024/05/23 09:19:28.082 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=12] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:19:28.086 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=123] [2024/05/23 09:19:28.090 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:19:28.148 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:19:28.149 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=123] [indexIDs="[4]"] [2024/05/23 09:19:28.158 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=12] [subtask-id=12] [jobID=123] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:19:28.159 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:19:28.159 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:19:28.159 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:19:28.159 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:19:28.159 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f72013100000000000000f8038000000000000001] ["end key"=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:19:28.159 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=12] [subtask-id=12] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000775f72013100000000000000f8038000000000000001, endKey=7480000000000000775f72013300000000000000f803800000000000000300"] [2024/05/23 09:19:28.164 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=12] [subtask-id=12] [id=1] [2024/05/23 09:19:28.164 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000004038000000000000002038000000000000001013100000000000000f8038000000000000001] [idxVal=007d01] [2024/05/23 09:19:28.165 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000004038000000000000004038000000000000002013200000000000000f8038000000000000002] [idxVal=007d01] [2024/05/23 09:19:28.165 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000004038000000000000006038000000000000003013300000000000000f8038000000000000003] [idxVal=007d01] [2024/05/23 09:19:28.165 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:19:28.241 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:19:28.243 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=123] [] [2024/05/23 09:19:28.243 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=12] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=160.554594ms] [] [2024/05/23 09:19:28.606 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=12] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:19:28.875 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:28.922 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=12] [type=backfill] [2024/05/23 09:19:29.042 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=12] [2024/05/23 09:19:29.075 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:19:29.075 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=12] [2024/05/23 09:19:29.206 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:19:29.209 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=129] [neededSchemaVersion=130] ["start time"=7.125191ms] [gotSchemaVersion=130] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:29.225 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=130] [2024/05/23 09:19:29.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=130] ["take time"=24.322791ms] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958632833679360, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:29.328 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958632833679360, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:29.333 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=123] [table=t] [index=idx2] [2024/05/23 09:19:29.373 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=130] [neededSchemaVersion=131] ["start time"=5.190252ms] [gotSchemaVersion=131] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:29.388 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=131] [2024/05/23 09:19:29.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=131] ["take time"=22.429425ms] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:29.513 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:29.518 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=123] [physicalTableID=119] [startKey=7480000000000000775f69ffff000000000004] [endKey=7480000000000000775f69ffff000000000004ff] [2024/05/23 09:19:29.568 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/23 09:19:29.649 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=1] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958633673326592, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:29.675 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=123] [2024/05/23 09:19:29.673 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958633673326592, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000775f69ffff000000000004,EndKey:7480000000000000775f69ffff000000000004ff,First:false,PhysicalTableID:119,Ingest mode:false"] [2024/05/23 09:19:29.688 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f69ffff000000000004] ["end key"=7480000000000000775f69ffff000000000004ff] [2024/05/23 09:19:29.688 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000775f69ffff000000000004] [endKey=7480000000000000775f69ffff000000000004ff] [2024/05/23 09:19:29.693 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=119] ["end key"=7480000000000000775f69ffff000000000004ff] ["current end key"=7480000000000000775f69ffff00000000000400] [2024/05/23 09:19:29.693 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=123] [2024/05/23 09:19:29.693 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=123] [2024/05/23 09:19:29.693 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=123] [2024/05/23 09:19:29.694 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 119, range: [7480000000000000775f69ffff000000000004, 7480000000000000775f69ffff00000000000400), jobID: 123"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000775f69ffff0000000000040000] ["take time"=971.161µs] [2024/05/23 09:19:29.694 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=123] [2024/05/23 09:19:29.694 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000775f69ffff000000000004] [2024/05/23 09:19:29.694 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:29.977 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:19:30.052 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=131] [neededSchemaVersion=132] ["start time"=7.1032ms] [gotSchemaVersion=132] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:30.069 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=132] [2024/05/23 09:19:30.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=132] ["take time"=25.704868ms] [job="ID:123, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958633673326592, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:30.133 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=123] [tableID=119] [indexIDs="[9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:19:30.142 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="add index"] [2024/05/23 09:19:30.147 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=1] [job="ID:123, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:25.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958633673326592, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:30.183 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=123] [elementID=1] [startKey=7480000000000000775f69ffff000000000004] [endKey=7480000000000000775f69ffff000000000005] [2024/05/23 09:19:30.274 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/23 09:19:30.275 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:19:30.277 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 4.495557878\n# Parse_time: 0.000741994\n# Compile_time: 0.001816025\n# Rewrite_time: 0.000050004\n# Optimize_time: 0.000280198\n# Wait_TS: 0.000155522\n# DB: test\n# Is_internal: false\n# Digest: 4afb961f5ad6e815ab9cddef29faa3dd4b7249c27365d8ef6183122ec8c72786\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx2(d, c);"] [2024/05/23 09:19:30.280 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=132] [cur_db=test] [sql="alter table t add index idx3(e);"] [user=] [2024/05/23 09:19:30.317 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:19:30.318 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:124, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx3(e);"] [2024/05/23 09:19:30.409 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:30.413 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":5,\"idx_name\":{\"O\":\"idx3\",\"L\":\"idx3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"e\",\"L\":\"e\"},\"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/23 09:19:30.455 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=132] [neededSchemaVersion=133] ["start time"=7.345118ms] [gotSchemaVersion=133] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:30.507 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=133] [2024/05/23 09:19:30.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=133] ["take time"=62.089976ms] [job="ID:124, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:30.574 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:30.615 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=133] [neededSchemaVersion=134] ["start time"=7.421389ms] [gotSchemaVersion=134] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:30.630 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=134] [2024/05/23 09:19:30.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=134] ["take time"=24.191305ms] [job="ID:124, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:30.722 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:30.764 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=134] [neededSchemaVersion=135] ["start time"=7.46285ms] [gotSchemaVersion=135] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:30.780 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=135] [2024/05/23 09:19:30.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=135] ["take time"=34.455494ms] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:6, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:30.880 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:30.884 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:19:30.888 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=119] [startKey=7480000000000000775f72013100000000000000f8038000000000000001] [endKey=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:19:30.928 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/23 09:19:31.026 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958634031677440, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:31.029 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=true] [index=idx3] [2024/05/23 09:19:31.102 +00:00] [INFO] [index.go:2098] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/124] [2024/05/23 09:19:31.360 +00:00] [INFO] [index.go:2187] ["estimate row size"] [tableID=119] [size=0] [error="pd http client unavailable"] [errorVerbose="pd http client unavailable\ngithub.com/pingcap/tidb/pkg/store/helper.(*Helper).TryGetPDHTTPClient\n\tpkg/store/helper/helper.go:105\ngithub.com/pingcap/tidb/pkg/ddl.estimateRowSizeFromRegion\n\tpkg/ddl/index.go:2221\ngithub.com/pingcap/tidb/pkg/ddl.estimateTableRowSize\n\tpkg/ddl/index.go:2204\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).executeDistTask\n\tpkg/ddl/index.go:2101\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\tpkg/ddl/index.go:1949\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func1\n\tpkg/ddl/index.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\tpkg/ddl/reorg.go:220\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:19:31.571 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [server-id=:4000] [task-id=13] [2024/05/23 09:19:31.571 +00:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2024/05/23 09:19:32.080 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2024/05/23 09:19:32.080 +00:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2024/05/23 09:19:32.084 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=13] [curr-step=init] [next-step=read-index] [2024/05/23 09:19:32.089 +00:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2024/05/23 09:19:32.241 +00:00] [INFO] [manager.go:328] ["task executor started"] [server-id=:4000] [task-id=13] [type=backfill] [remaining-slots=12] [2024/05/23 09:19:32.604 +00:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=13] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [2024/05/23 09:19:32.608 +00:00] [INFO] [mock.go:56] ["mock backend mgr register"] [category=ddl-ingest] [jobID=124] [2024/05/23 09:19:32.613 +00:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl] [2024/05/23 09:19:32.675 +00:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2024/05/23 09:19:32.676 +00:00] [INFO] [mock.go:109] ["mock backend ctx register"] [category=ddl-ingest] [jobID=124] [indexIDs="[5]"] [2024/05/23 09:19:32.698 +00:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=13] [subtask-id=13] [jobID=124] [avgRowSize=0] [reader=2] [writer=4] [2024/05/23 09:19:32.698 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=1] [2024/05/23 09:19:32.698 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=2] [2024/05/23 09:19:32.698 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=3] [2024/05/23 09:19:32.698 +00:00] [INFO] [mock.go:210] ["mock engine info create writer"] [category=ddl-ingest] [id=4] [2024/05/23 09:19:32.699 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f72013100000000000000f8038000000000000001] ["end key"=7480000000000000775f72013300000000000000f803800000000000000300] [2024/05/23 09:19:32.699 +00:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=13] [subtask-id=13] [id=1] [task="TableScanTask: id=1, startKey=7480000000000000775f72013100000000000000f8038000000000000001, endKey=7480000000000000775f72013300000000000000f803800000000000000300"] [2024/05/23 09:19:32.703 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000005038000000000000001013100000000000000f8038000000000000001] [idxVal=007d01] [2024/05/23 09:19:32.704 +00:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=13] [subtask-id=13] [id=1] [2024/05/23 09:19:32.704 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000005038000000000000002013200000000000000f8038000000000000002] [idxVal=007d01] [2024/05/23 09:19:32.704 +00:00] [INFO] [mock.go:223] ["mock writer write row"] [category=ddl-ingest] [key=7480000000000000775f698000000000000005038000000000000003013300000000000000f8038000000000000003] [idxVal=007d01] [2024/05/23 09:19:32.704 +00:00] [INFO] [mock.go:119] ["mock backend ctx unregister"] [category=ddl-ingest] [2024/05/23 09:19:32.778 +00:00] [INFO] [backfilling_read_index.go:146] ["read index executor cleanup subtask exec env"] [2024/05/23 09:19:32.781 +00:00] [INFO] [mock.go:75] ["mock backend mgr unregister"] [category=ddl-ingest] [jobID=124] [] [2024/05/23 09:19:32.781 +00:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=13] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=85.58GiB]"] [takeTime=176.559085ms] [] [2024/05/23 09:19:33.105 +00:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=13] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2024/05/23 09:19:33.411 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:33.426 +00:00] [INFO] [manager.go:332] ["task executor exit"] [server-id=:4000] [task-id=13] [type=backfill] [2024/05/23 09:19:33.580 +00:00] [INFO] [scheduler_manager.go:364] ["task scheduler exit"] [server-id=:4000] [task-id=13] [2024/05/23 09:19:33.620 +00:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"] [server-id=:4000] [2024/05/23 09:19:33.620 +00:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [server-id=:4000] [task-id=13] [2024/05/23 09:19:33.710 +00:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"] [server-id=:4000] [2024/05/23 09:19:33.744 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.329850477\n# Parse_time: 0\n# Compile_time: 0.00405702\n# Rewrite_time: 0.000752721\n# Optimize_time: 0.00098186\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.00000296\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zwHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6MzIzLjhtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkuUwAEMW0ZUxAJMTQuMBFEKDIJMTFfNgkwCTEwAY88dGFibGU6VEFCTEVTCTgxOA2VDDE4LjkZQjQzCTEuNTAgTUIJTi9BCg==')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sgJgCq0CCgxQcm9qZWN0aW9uXzQSxgEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzE4LjltcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV9wQL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSkRUgwyMy4xGVIMMnDwbz5RAAhAAOFCUQAACA1OADgdRwA4HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:19:33.781 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=135] [neededSchemaVersion=136] ["start time"=7.69762ms] [gotSchemaVersion=136] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:33.797 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=136] [2024/05/23 09:19:33.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=136] ["take time"=26.171062ms] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958634031677440, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:33.909 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958634031677440, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:33.912 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=124] [table=t] [index=idx3] [2024/05/23 09:19:33.957 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=136] [neededSchemaVersion=137] ["start time"=16.211647ms] [gotSchemaVersion=137] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:33.983 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=137] [2024/05/23 09:19:33.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=137] ["take time"=43.482225ms] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:34.056 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:34.059 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=119] [startKey=7480000000000000775f69ffff000000000005] [endKey=7480000000000000775f69ffff000000000005ff] [2024/05/23 09:19:34.104 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/23 09:19:34.186 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:0, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958634863722496, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:34.209 +00:00] [INFO] [mock.go:85] ["mock backend mgr load"] [category=ddl-ingest] [jobID=124] [2024/05/23 09:19:34.209 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:124, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:119, RowCount:3, ArgLen:6, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958634863722496, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:5,StartKey:7480000000000000775f69ffff000000000005,EndKey:7480000000000000775f69ffff000000000005ff,First:false,PhysicalTableID:119,Ingest mode:false"] [2024/05/23 09:19:34.222 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=119] ["start key"=7480000000000000775f69ffff000000000005] ["end key"=7480000000000000775f69ffff000000000005ff] [2024/05/23 09:19:34.222 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000775f69ffff000000000005] [endKey=7480000000000000775f69ffff000000000005ff] [2024/05/23 09:19:34.227 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=119] ["end key"=7480000000000000775f69ffff000000000005ff] ["current end key"=7480000000000000775f69ffff00000000000500] [2024/05/23 09:19:34.228 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=124] [2024/05/23 09:19:34.228 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=124] [2024/05/23 09:19:34.228 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=124] [2024/05/23 09:19:34.229 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [task="taskID: 1, physicalTableID: 119, range: [7480000000000000775f69ffff000000000005, 7480000000000000775f69ffff00000000000500), jobID: 124"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000775f69ffff0000000000050000] ["take time"=992.752µs] [2024/05/23 09:19:34.229 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=124] [2024/05/23 09:19:34.229 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:5,TypeKey:_idx_] ["total added count"=3] ["start key"=7480000000000000775f69ffff000000000005] [2024/05/23 09:19:34.229 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2024/05/23 09:19:34.594 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.361995867\n# Parse_time: 0\n# Compile_time: 0.004282763\n# Rewrite_time: 0.000788608\n# Optimize_time: 0.001143676\n# Wait_TS: 0\n# Is_internal: true\n# Digest: 7941247260dd1867ff6f3007f1b06f48e3f71bea14194b1c3d855ce94664c426\n# Num_cop_tasks: 0\n# Mem_max: 1596886\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0.000003704\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 1\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('zQHwTzAJM180CTAJODAwMAlDb2x1bW4jOAkxCXRpbWU6MzU1LjdtcywgbG9vcHM6MiwgQ29uY3VycmVuY3k6NQk1LjU3IEtCCU4vQQoxCTFfNQkwCUkIZXEoDUwcMjIsIDExOSkdUwBtGVEQCTE0LjARQigyCTExXzYJMAkxMAGNPHRhYmxlOlRBQkxFUwk4MTgNkww0OC44GUI0MwkxLjUwIE1CCU4vQQo=')\n# Plan_digest: a5f0c0e455a8cac65b6a9db45b21993c76e17be51ff1d76d4ae8c4df44742533\n# Binary_plan: tidb_decode_binary_plan('sAJgCqsCCgxQcm9qZWN0aW9uXzQSxAEKC1NlbA0QUDUSZgoOTWVtVGFibGVTY2FuXzYpAAEBWIjDQDCyBjgBQAFKHgocChJpbmZvcm1hBUWwc2NoZW1hEgZUQUJMRVNaFXRpbWU6MzQ4LjhtcywgbG9vcHM6M3Cin2B4////CQIEASEBVQwATN1ACV94QL9AMAE4AUABUhJlcShDb2x1bW4jMjIsIDExOSlaEwlSBDU1GVAMMnDwbz5PAAhAAOFCTwAACA1MADgRlww1NS43HUd4Yg1Db25jdXJyZW5jeTo1cMQseP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:19:34.599 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:19:34.671 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=137] [neededSchemaVersion=138] ["start time"=7.465977ms] [gotSchemaVersion=138] [phyTblIDs="[119]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:19:34.688 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=138] [2024/05/23 09:19:34.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=138] ["take time"=25.504128ms] [job="ID:124, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958634863722496, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:34.790 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=124] [tableID=119] [indexIDs="[9223090561878065157]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:19:34.801 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="add index"] [2024/05/23 09:19:34.806 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=1] [job="ID:124, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:3, ArgLen:3, start time: 2024-05-23 09:19:30.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958634863722496, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:19:34.855 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=1] [startKey=7480000000000000775f69ffff000000000005] [endKey=7480000000000000775f69ffff000000000006] [2024/05/23 09:19:34.939 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/23 09:19:34.939 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:19:34.942 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 4.663994775\n# Parse_time: 0.000949773\n# Compile_time: 0.00169383\n# Rewrite_time: 0.000021692\n# Optimize_time: 0.000280198\n# Wait_TS: 0.000113085\n# DB: test\n# Is_internal: false\n# Digest: 2b073e8a66f74cad270fec338d44cc22902f95a4e40ca704d80473379394851f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nalter table t add index idx3(e);"] [2024/05/23 09:19:34.981 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:19:34.996 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:19:35.000 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx\""] [idxCnt=3] [2024/05/23 09:19:35.013 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:19:35.017 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx1\""] [idxCnt=3] [2024/05/23 09:19:35.028 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:19:35.032 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx2\""] [idxCnt=3] [2024/05/23 09:19:35.043 +00:00] [INFO] [session.go:4125] ["use snapshot schema"] [conn=0] [schemaVersion=138] [2024/05/23 09:19:35.048 +00:00] [INFO] [admin.go:102] ["check indices count"] [table=t] [tblCnt=3] [index="\"idx3\""] [idxCnt=3] [2024/05/23 09:19:35.113 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=622e2b1e-9d71-4e09-9883-2c81dd9f3b4a] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:19:35.113 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:19:35.113 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=16.6µs] [2024/05/23 09:19:35.114 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=16.482µs] [2024/05/23 09:19:35.114 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=17.063µs] [2024/05/23 09:19:35.114 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=6.144µs] [2024/05/23 09:19:35.114 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:19:35.114 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=9.219µs] [2024/05/23 09:19:35.114 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:19:35.114 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:19:35.114 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:19:35.152 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=622e2b1e-9d71-4e09-9883-2c81dd9f3b4a] ["take time"=50.327592ms] [2024/05/23 09:19:35.152 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=622e2b1e-9d71-4e09-9883-2c81dd9f3b4a] [2024/05/23 09:19:35.152 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:19:35.152 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/23 09:19:35.152 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:19:35.153 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:19:35.153 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:19:35.153 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:19:35.153 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:19:35.153 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:19:35.153 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:19:35.153 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:19:35.153 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:19:35.153 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:19:35.164 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:19:35.164 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:19:35.164 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:19:35.164 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:19:35.164 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:19:35.164 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:19:35.164 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:19:35.164 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:19:35.164 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:19:35.165 +00:00] [INFO] [domain.go:1549] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=622e2b1e-9d71-4e09-9883-2c81dd9f3b4a] [2024/05/23 09:19:35.165 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:19:35.165 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:19:35.165 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:19:35.165 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:19:35.165 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/23 09:19:35.165 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:19:35.166 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/23 09:19:35.166 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:19:35.166 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/23 09:19:35.166 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:19:35.165 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:19:35.165 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:19:35.166 +00:00] [INFO] [domain.go:1551] ["dist task scheduler manager stopped"] [id=622e2b1e-9d71-4e09-9883-2c81dd9f3b4a] [2024/05/23 09:19:35.166 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:19:35.166 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:19:35.166 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=622e2b1e-9d71-4e09-9883-2c81dd9f3b4a] [ownerKey=/tidb/stats/owner] [2024/05/23 09:19:35.166 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:19:35.166 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:19:35.166 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:19:35.166 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=622e2b1e-9d71-4e09-9883-2c81dd9f3b4a] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:19:35.166 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:19:35.166 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:19:35.181 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=79.612589ms] [2024/05/23 09:19:35.182 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:19:35.183 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:19:35.183 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:19:35.183 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:19:35.183 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:19:35.183 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAddIndexIngestGeneratedColumns (144.90s) PASS -- Test timed out at 2024-05-23 09:19:38 UTC -- ================================================================================ [12,271 / 13,132] 262 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,275 / 13,132] 262 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 77s remote-cache, linux-sandbox ... (69 actions running) [12,282 / 13,132] 262 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 78s remote-cache, linux-sandbox ... (70 actions running) [12,285 / 13,132] 262 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,285 / 13,132] 262 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 81s remote-cache, linux-sandbox ... (70 actions running) [12,288 / 13,132] 262 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 82s remote-cache, linux-sandbox ... (70 actions running) [12,290 / 13,132] 262 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,294 / 13,132] 262 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 85s remote-cache, linux-sandbox ... (70 actions running) [12,295 / 13,132] 262 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 86s remote-cache, linux-sandbox ... (70 actions running) [12,299 / 13,132] 262 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,305 / 13,132] 262 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,305 / 13,132] 263 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 80s remote-cache, linux-sandbox ... (70 actions running) [12,311 / 13,132] 263 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [12,317 / 13,132] 263 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,324 / 13,132] 263 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,329 / 13,132] 263 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [12,333 / 13,132] 263 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,335 / 13,132] 263 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 88s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,336 / 13,132] 263 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,340 / 13,132] 263 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,344 / 13,132] 264 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 1 of 28); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,349 / 13,153] 264 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 1 of 28); 38s remote-cache, linux-sandbox ... (70 actions running) [12,350 / 13,153] 264 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 1 of 28); 40s remote-cache, linux-sandbox ... (70 actions running) [12,351 / 13,153] 264 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 1 of 28); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,354 / 13,153] 264 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 1 of 28); 43s remote-cache, linux-sandbox ... (70 actions running) [12,358 / 13,153] 264 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,365 / 13,164] 264 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,366 / 13,164] 265 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 42s remote-cache, linux-sandbox ... (70 actions running) [12,370 / 13,164] 265 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 43s remote-cache, linux-sandbox ... (70 actions running) [12,373 / 13,164] 266 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 45s remote-cache, linux-sandbox ... (69 actions, 68 running) FLAKY: //pkg/planner/core:core_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_11_of_50/test_attempts/attempt_1.log [12,377 / 13,164] 267 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,378 / 13,164] 267 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 47s remote-cache, linux-sandbox ... (70 actions running) [12,382 / 13,176] 267 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,384 / 13,176] 267 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,385 / 13,176] 267 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,386 / 13,176] 267 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 52s remote-cache, linux-sandbox ... (70 actions running) [12,388 / 13,176] 267 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,391 / 13,176] 267 / 415 tests; Testing //pkg/executor/test/distsqltest:distsqltest_test; 55s remote-cache, linux-sandbox ... (70 actions running) [12,396 / 13,176] 268 / 415 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,401 / 13,182] 269 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,411 / 13,182] 269 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,414 / 13,182] 269 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,418 / 13,182] 269 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 45s remote-cache, linux-sandbox ... (70 actions running) [12,424 / 13,182] 269 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,427 / 13,182] 271 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 5 of 11); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,430 / 13,182] 271 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 5 of 11); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,433 / 13,182] 271 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 5 of 11); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,438 / 13,182] 271 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 5 of 11); 45s remote-cache, linux-sandbox ... (70 actions running) [12,442 / 13,182] 271 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 5 of 11); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,447 / 13,182] 271 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 5 of 11); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,451 / 13,182] 271 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 5 of 11); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,452 / 13,182] 271 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 5 of 11); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,457 / 13,182] 271 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 29 of 50); 34s remote-cache, linux-sandbox ... (70 actions running) [12,461 / 13,194] 271 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 29 of 50); 35s remote-cache, linux-sandbox ... (70 actions running) [12,466 / 13,227] 271 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 29 of 50); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,473 / 13,227] 271 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 2 of 28); 38s remote-cache, linux-sandbox ... (70 actions running) [12,475 / 13,227] 271 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,476 / 13,227] 271 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,476 / 13,227] 271 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 41s remote-cache, linux-sandbox ... (70 actions running) [12,476 / 13,227] 271 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 43s remote-cache, linux-sandbox ... (70 actions running) [12,478 / 13,227] 271 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 44s remote-cache, linux-sandbox ... (70 actions running) [12,485 / 13,244] 271 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,489 / 13,244] 272 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 47s remote-cache, linux-sandbox ... (70 actions running) [12,490 / 13,244] 272 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 48s remote-cache, linux-sandbox ... (70 actions running) [12,496 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 50s remote-cache, linux-sandbox ... (70 actions running) [12,501 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,502 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,510 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 54s remote-cache, linux-sandbox ... (70 actions running) [12,510 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 55s remote-cache, linux-sandbox ... (70 actions running) [12,515 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,517 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,519 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 8 of 8); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,523 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 1 of 11); 44s remote-cache, linux-sandbox ... (70 actions running) [12,528 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 1 of 11); 45s remote-cache, linux-sandbox ... (70 actions running) [12,533 / 13,244] 273 / 415 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 1 of 11); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,536 / 13,244] 273 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 24 of 33); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,538 / 13,244] 273 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,539 / 13,244] 273 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [12,544 / 13,244] 273 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,545 / 13,244] 273 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,547 / 13,244] 273 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,550 / 13,244] 273 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 42s remote-cache, linux-sandbox ... (69 actions running) [12,554 / 13,244] 273 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 43s remote-cache, linux-sandbox ... (70 actions running) [12,559 / 13,244] 274 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [12,561 / 13,244] 274 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,567 / 13,268] 274 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,569 / 13,268] 274 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,572 / 13,268] 274 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,574 / 13,268] 274 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [12,579 / 13,268] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) FAIL: //pkg/ddl:ddl_test (shard 33 of 50) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_33_of_50/test_attempts/attempt_1.log) [12,585 / 13,268] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,587 / 13,268] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [12,590 / 13,268] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,591 / 13,268] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [12,594 / 13,286] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [12,595 / 13,286] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,597 / 13,286] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,600 / 13,286] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [12,600 / 13,286] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [12,604 / 13,337] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,608 / 13,337] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,611 / 13,337] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,615 / 13,341] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [12,618 / 13,343] 275 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [12,621 / 13,343] 276 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 70s remote-cache, linux-sandbox ... (70 actions running) [12,625 / 13,343] 276 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 72s remote-cache, linux-sandbox ... (70 actions running) INFO: From Testing //pkg/ddl:ddl_test (shard 33 of 50): ==================== Test output for //pkg/ddl:ddl_test (shard 33 of 50): === RUN TestAddGeneratedColumnAndInsert [2024/05/23 09:22:56.791 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:22:56.792 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:56.792 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:56.794 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:56.794 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:56.795 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:56.799 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=020cd676-26d1-4251-84b0-1cb9b761c241] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/23 09:22:56.811 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:22:56.811 +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/23 09:22:56.812 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestAddGeneratedColumnAndInsert\n\tpkg/ddl/column_modify_test.go:480\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:22:56.815 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.527549ms] [2024/05/23 09:22:56.816 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:22:56.816 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=a31cde38-86c7-49ba-9179-c1cc4ca964a8] [runWorker=true] [2024/05/23 09:22:56.816 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:22:56.816 +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/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:22:56.816 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:22:56.816 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:22:56.816 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:22:56.816 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:22:56.816 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:22:56.816 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:22:56.817 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:22:56.823 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:56.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:56.823 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:56.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:22:56.831 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:56.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.837 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.578447ms] [2024/05/23 09:22:56.837 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:22:56.839 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:56.839 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:22:56.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=1] ["take time"=8.144236ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:22:56.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.848 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:56.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.851 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:22:56.851 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:56.851 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:22:56.852 +00:00] [INFO] [session.go:3959] ["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/23 09:22:56.859 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:56.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:56.859 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:56.854 +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/23 09:22:56.874 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:56.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.897 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.053356ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:56.899 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:56.899 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:22:56.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=2] ["take time"=4.407523ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:56.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.906 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:56.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.913 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:22:56.913 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:56.914 +00:00] [INFO] [session.go:3959] ["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/23 09:22:56.917 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:56.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:56.917 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:56.916 +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/23 09:22:56.923 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:56.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.927 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=290.041µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:56.928 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:56.928 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:22:56.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=3] ["take time"=4.064215ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:56.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.936 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:56.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.940 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:22:56.940 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:56.940 +00:00] [INFO] [session.go:3959] ["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/23 09:22:56.944 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:56.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:56.944 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:56.942 +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/23 09:22:56.960 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:56.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.964 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=241.799µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:56.965 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:56.965 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:22:56.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=4] ["take time"=4.076585ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:56.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.978 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:56.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:56.981 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:22:56.981 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:56.982 +00:00] [INFO] [session.go:3959] ["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/23 09:22:56.987 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:56.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:56.987 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:56.984 +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/23 09:22:56.994 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:56.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.000 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=470.294µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.002 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.002 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:22:57.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=5] ["take time"=5.009038ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:56.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.010 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:56.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.018 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:22:57.018 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.018 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.022 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.022 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.02 +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/23 09:22:57.027 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.031 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=422.704µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.033 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.033 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:22:57.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=6] ["take time"=10.437903ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.047 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.051 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:22:57.051 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.051 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.054 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.054 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.052 +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/23 09:22:57.066 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.077 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=352.871µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.079 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.079 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:22: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=7] ["take time"=6.678107ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.091 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.098 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:22:57.098 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.098 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.102 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.102 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.1 +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/23 09:22:57.110 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.113 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=248.08µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.115 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.115 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:22:57.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=8] ["take time"=4.980293ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.128 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.132 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:22:57.132 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.133 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.138 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.138 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.134 +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/23 09:22:57.145 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.148 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=288.096µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.150 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.150 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:22:57.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=9] ["take time"=4.061516ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.158 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.162 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:22:57.162 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.162 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.166 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.166 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.164 +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/23 09:22:57.175 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.179 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=316.822µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.180 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.180 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:22:57.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=10] ["take time"=4.687747ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.190 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.194 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:22:57.194 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.194 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.198 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.198 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.196 +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/23 09:22:57.205 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.208 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=217.876µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.209 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.210 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:22:57.211 +00:00] [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.772608ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.216 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.219 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:22:57.219 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.220 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.220 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:57.223 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.223 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.221 +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/23 09:22:57.233 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.236 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=318.31µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.238 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.238 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:22:57.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=12] ["take time"=2.107617ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.243 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.248 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:22:57.248 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.249 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.252 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.252 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.25 +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/23 09:22:57.261 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.265 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=388.676µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.266 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.266 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:22:57.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=13] ["take time"=5.119779ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.278 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.282 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:22:57.282 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.282 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.285 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.285 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.283 +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/23 09:22:57.293 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.297 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=347.913µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.298 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.298 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:22:57.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=14] ["take time"=4.206847ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.306 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.310 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:22:57.310 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.310 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.313 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.313 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.312 +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/23 09:22:57.321 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.324 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=309.723µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.326 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.326 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:22:57.328 +00:00] [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.192074ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.337 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.340 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:22:57.340 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.340 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.343 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.343 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.341 +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/23 09:22:57.351 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.354 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=259.713µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.356 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.356 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:22:57.356 +00:00] [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.119689ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.361 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.364 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:22:57.364 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.365 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.381 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.381 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.374 +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/23 09:22:57.388 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.391 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=219.421µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.392 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.392 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:22:57.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=17] ["take time"=2.367054ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.398 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.401 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:22:57.401 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.401 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.405 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.405 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.403 +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/23 09:22:57.413 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.416 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=224.5µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.417 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.417 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:22:57.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=18] ["take time"=2.082867ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.426 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.430 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:22:57.430 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.430 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.434 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.434 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.432 +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/23 09:22:57.441 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.446 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=438.653µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.448 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.448 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:22:57.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=19] ["take time"=4.679464ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.456 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.459 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:22:57.459 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.461 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.464 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.465 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.463 +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/23 09:22:57.470 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.474 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=296.925µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.475 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.475 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:22:57.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=20] ["take time"=2.554107ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.482 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.485 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:22:57.485 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.486 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.488 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.489 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.487 +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/23 09:22:57.497 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.500 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=217.059µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.501 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.501 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:22:57.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=21] ["take time"=3.024918ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.509 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.515 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:22:57.515 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.516 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.519 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.519 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.517 +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/23 09:22:57.527 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.530 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=159.669µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.531 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.531 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:22:57.532 +00:00] [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.072602ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.539 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.542 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:22:57.542 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.543 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.545 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.545 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.544 +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/23 09:22:57.552 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.555 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=471.636µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.557 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.557 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:22:57.558 +00:00] [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.995363ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.563 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.566 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:22:57.566 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.567 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.570 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.570 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.568 +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/23 09:22:57.577 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.580 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=240.867µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.581 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.581 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:22:57.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=24] ["take time"=2.480601ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.587 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.590 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:22:57.591 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.591 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.594 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.594 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.592 +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/23 09:22:57.600 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.602 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=220.529µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.603 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.603 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:22:57.604 +00:00] [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.364965ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.609 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.613 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:22:57.613 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.614 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.617 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.617 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.615 +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/23 09:22:57.626 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.629 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=335.092µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.631 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:22:57.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=26] ["take time"=4.054937ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.639 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.642 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:22:57.642 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.643 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.646 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.646 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.645 +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/23 09:22:57.656 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.659 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=282.746µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.661 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.661 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:22:57.663 +00:00] [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.104606ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.669 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.677 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:22:57.677 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.677 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.680 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.680 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.679 +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/23 09:22:57.690 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.693 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=254.995µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.694 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.694 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:22:57.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=28] ["take time"=2.014869ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.702 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.705 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:22:57.705 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.705 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.705 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:57.708 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.708 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.707 +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/23 09:22:57.716 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.720 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=294.887µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.722 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.722 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:22:57.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=29] ["take time"=4.376415ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.730 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.735 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:22:57.735 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.735 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.739 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.737 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.739 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.737 +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/23 09:22:57.746 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.737 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.757 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=1.335271ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.759 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.759 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:22:57.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=30] ["take time"=4.663683ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.737 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.765 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.737 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.769 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:22:57.769 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.769 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.776 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.776 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.771 +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/23 09:22:57.782 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.785 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=238.603µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.786 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.786 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:22:57.788 +00:00] [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.973634ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.793 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.796 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:22:57.796 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.797 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.800 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.800 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.798 +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/23 09:22:57.807 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.811 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=406.354µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.813 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.813 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:22:57.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=32] ["take time"=4.876738ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.817 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:22:57.821 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.825 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:22:57.825 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.825 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.828 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.828 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.827 +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/23 09:22:57.837 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.839 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=202.87µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.841 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.841 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:22: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=33] ["take time"=8.623776ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.855 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.857 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:22:57.857 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.861 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.861 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:22:57.869 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.873 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=371.543µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:22:57.874 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.875 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:22:57.875 +00:00] [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.563834ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:22:57.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.882 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.886 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:22:57.886 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.887 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.889 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.889 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.888 +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/23 09:22:57.906 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.911 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=277.055µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.912 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.912 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:22:57.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=35] ["take time"=2.017191ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.918 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.922 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:22:57.922 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.923 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.925 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.926 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.924 +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/23 09:22:57.934 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.937 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=269.221µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.939 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.939 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:22:57.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=36] ["take time"=2.245615ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.944 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.948 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:22:57.948 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.949 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.953 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.953 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.951 +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/23 09:22:57.959 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.962 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=180.375µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.963 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.963 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:22:57.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=37] ["take time"=2.864143ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.972 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.975 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:22:57.975 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:57.976 +00:00] [INFO] [session.go:3959] ["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/23 09:22:57.979 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:57.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:57.979 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:57.977 +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/23 09:22:57.986 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:57.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:57.991 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=448.405µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:57.992 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:57.992 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:22:57.995 +00:00] [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.56761ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:57.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.002 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:57.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.010 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:22:58.010 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.010 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.017 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.017 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.012 +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/23 09:22:58.022 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.026 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=351.152µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.027 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.027 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:22:58.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=39] ["take time"=2.017176ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.033 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.036 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:22:58.037 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.037 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.040 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.040 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.038 +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/23 09:22:58.048 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.054 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=537.951µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.056 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.056 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:22:58.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=40] ["take time"=9.180852ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.068 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.073 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:22:58.073 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.073 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.085 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.085 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.075 +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/23 09:22:58.096 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.101 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=514.052µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.102 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.102 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:22:58.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=41] ["take time"=4.505311ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.113 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.121 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:22:58.121 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.121 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.124 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.124 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.122 +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/23 09:22:58.134 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.139 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=515.35µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.140 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.140 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:22:58.169 +00:00] [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"=31.002497ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.182 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.188 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:22:58.188 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.189 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.193 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.193 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.19 +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/23 09:22:58.202 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.207 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=514.843µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.209 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.209 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:22:58.211 +00:00] [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.675058ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.217 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.222 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:22:58.222 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.223 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.226 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.226 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.224 +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/23 09:22:58.234 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.237 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=285.711µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.239 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.239 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:22:58.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=44] ["take time"=2.894838ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.249 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.258 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:22:58.258 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.259 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.263 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.263 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.261 +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/23 09:22:58.269 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.272 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=342.334µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.274 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.274 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:22:58.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=45] ["take time"=21.322214ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.299 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.304 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:22:58.304 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.304 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.308 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.308 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.306 +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/23 09:22:58.315 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.321 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=597.863µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.322 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.322 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:22:58.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=46] ["take time"=4.778651ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.330 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.334 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:22:58.334 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.335 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.337 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.336 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.337 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.336 +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/23 09:22:58.343 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.336 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.347 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=364.261µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.348 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.348 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:22:58.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=47] ["take time"=2.393651ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.336 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.354 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.336 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.358 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:22:58.359 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.359 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.361 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.361 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.36 +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/23 09:22:58.367 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.369 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=241.269µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.371 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.371 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:22:58.371 +00:00] [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.040873ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.377 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.379 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:22:58.379 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.380 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.382 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.382 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.381 +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/23 09:22:58.392 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.395 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=313.885µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.397 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.397 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:22:58.397 +00:00] [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.03419ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.403 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.406 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:22:58.406 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.406 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:22:58.408 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.408 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:22:58.416 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.418 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=82.981µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:22:58.419 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.419 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:22:58.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=50] ["take time"=2.296375ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:22:58.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.428 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.430 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:22:58.430 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.434 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.434 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.432 +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/23 09:22:58.441 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.444 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=229.136µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:22:58.445 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.446 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:22:58.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=51] ["take time"=2.741587ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:22:58.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.451 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.453 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:22:58.453 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.484 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.668097907s] [2024/05/23 09:22:58.485 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a31cde38-86c7-49ba-9179-c1cc4ca964a8] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:22:58.485 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:22:58.485 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.644µs] [2024/05/23 09:22:58.485 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.107µs] [2024/05/23 09:22:58.485 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.105µs] [2024/05/23 09:22:58.485 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.038µs] [2024/05/23 09:22:58.485 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:22:58.485 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=982ns] [2024/05/23 09:22:58.485 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:22:58.485 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:22:58.485 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:22:58.487 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=a31cde38-86c7-49ba-9179-c1cc4ca964a8] ["take time"=2.785059ms] [2024/05/23 09:22:58.487 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=a31cde38-86c7-49ba-9179-c1cc4ca964a8] [2024/05/23 09:22:58.487 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:22:58.487 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:22:58.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:22:58.487 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:22:58.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:22:58.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:22:58.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:22:58.488 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:22:58.488 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:22:58.488 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:22:58.488 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:22:58.488 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:22:58.488 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:22:58.488 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:22:58.488 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.998107ms] [2024/05/23 09:22:58.488 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=020cd676-26d1-4251-84b0-1cb9b761c241] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/23 09:22:58.494 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:22:58.494 +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/23 09:22:58.504 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=9.965082ms] [2024/05/23 09:22:58.505 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:22:58.505 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=ac8c98fa-ace6-45d7-b7fb-453a3759eb1b] [runWorker=true] [2024/05/23 09:22:58.505 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:22:58.505 +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/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:22:58.505 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:22:58.505 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:22:58.505 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:22:58.505 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:22:58.505 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:22:58.505 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:22:58.507 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:22:58.508 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:22:58.510 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/23 09:22:58.511 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:22:58.519 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:22:58.522 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:22:58.523 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:22:58.523 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:22:58.524 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:22:58.524 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:22:58.524 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:22:58.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:22:58.526 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:22:58.526 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:22:58.526 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:22:58.527 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:22:58.527 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:22:58.527 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:22:58.532 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:22:58.533 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table t1 (a int, unique kye(a))"] [user=] [2024/05/23 09:22:58.536 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.536 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (a int, unique kye(a))"] [2024/05/23 09:22:58.543 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.545 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:22:58.568 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=22.879729ms] [2024/05/23 09:22:58.580 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:22:58.582 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:22:58.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=52] ["take time"=37.225136ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.587 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.590 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:22:58.590 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.593 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="alter table t1 add column gc int as ((a+1))"] [user=] [2024/05/23 09:22:58.595 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.595 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 add column gc int as ((a+1))"] [2024/05/23 09:22:58.601 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.601 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.601 +00:00] [INFO] [column.go:136] ["run add column job"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"gc\",\"L\":\"gc\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"(`a` + 1)\",\"generated_stored\":false,\"dependences\":{\"a\":{}},\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/23 09:22:58.602 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.604 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=334.936µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:22:58.605 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/23 09:22:58.605 +00:00] [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.012831ms] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.606 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.613 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.613 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.614 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.616 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=368.802µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:22:58.617 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/23 09:22:58.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=54] ["take time"=2.670225ms] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.619 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.625 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.625 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.626 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.628 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=371.731µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:22:58.629 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/23 09:22: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=55] ["take time"=2.8525ms] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.632 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.637 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.637 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.639 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.641 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=336.866µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:22:58.642 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/23 09:22:58.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=56] ["take time"=3.676488ms] [job="ID:106, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.646 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.651 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [conn=1] [job="ID:106, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.660 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/23 09:22:58.660 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.660 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:22:58.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.676 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ac8c98fa-ace6-45d7-b7fb-453a3759eb1b] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:22:58.676 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:22:58.676 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=1.992µs] [2024/05/23 09:22:58.676 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=1.123µs] [2024/05/23 09:22:58.676 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.652µs] [2024/05/23 09:22:58.676 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.807µs] [2024/05/23 09:22:58.676 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:22:58.676 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.585µs] [2024/05/23 09:22:58.676 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:22:58.676 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:22:58.676 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:22:58.677 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=ac8c98fa-ace6-45d7-b7fb-453a3759eb1b] ["take time"=799.928µs] [2024/05/23 09:22:58.677 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=ac8c98fa-ace6-45d7-b7fb-453a3759eb1b] [2024/05/23 09:22:58.677 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:22:58.677 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:22:58.677 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:22:58.677 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:22:58.677 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:22:58.677 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:22:58.677 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:22:58.677 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:22:58.677 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:22:58.677 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:22:58.677 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ac8c98fa-ace6-45d7-b7fb-453a3759eb1b] [ownerKey=/tidb/stats/owner] [2024/05/23 09:22:58.678 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:22:58.678 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:22:58.678 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ac8c98fa-ace6-45d7-b7fb-453a3759eb1b] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:22:58.678 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:22:58.678 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:22:58.678 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:22:58.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:22:58.679 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.734259ms] [2024/05/23 09:22:58.679 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:22:58.679 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:22:58.679 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:22:58.679 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:22:58.679 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:22:58.679 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAddGeneratedColumnAndInsert (1.90s) === RUN TestSchemaChangeForDropColumnsWithIndexes [2024/05/23 09:22:58.685 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:22:58.685 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:58.685 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:58.686 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:58.686 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:58.686 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:58.688 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=fa2a939f-b59b-4448-9366-ad9ed925379d] ["ddl lease"=200ms] ["stats lease"=-1ns] [2024/05/23 09:22:58.696 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:22:58.696 +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/23 09:22:58.696 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestSchemaChangeForDropColumnsWithIndexes\n\tpkg/ddl/db_change_test.go:679\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:22:58.712 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=15.612874ms] [2024/05/23 09:22:58.714 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:22:58.714 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=b395464d-6994-4dd7-8786-ae82e9ec36e0] [runWorker=true] [2024/05/23 09:22:58.714 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:22:58.714 +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/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:22:58.714 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:22:58.714 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:22:58.714 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:22:58.714 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:22:58.714 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:22:58.714 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:22:58.714 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:22:58.715 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:22:58.718 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.718 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:22:58.726 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.742 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=14.108221ms] [2024/05/23 09:22:58.744 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:22:58.746 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.746 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:22:58.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.967153ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:22:58.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.756 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.759 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:22:58.759 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.760 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:22:58.761 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.765 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.765 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.762 +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/23 09:22:58.771 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.778 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=798.434µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.779 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.779 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:22:58.782 +00:00] [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"=5.481611ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.789 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.795 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:22:58.795 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.796 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.799 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.799 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.797 +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/23 09:22:58.803 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.806 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=265.607µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.808 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.808 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:22:58.809 +00:00] [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.922711ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.815 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.818 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:22:58.818 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.818 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.821 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.821 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.82 +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/23 09:22:58.829 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.831 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=277.215µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.833 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.833 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:22:58.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=4] ["take time"=4.868264ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.842 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.845 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:22:58.845 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.846 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.849 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.849 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.847 +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/23 09:22:58.855 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.860 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=578.395µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.862 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.862 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:22:58.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=5] ["take time"=4.805746ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.875 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.879 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:22:58.879 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.880 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.883 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.883 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.881 +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/23 09:22:58.902 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.906 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=415.761µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.908 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.908 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:22:58.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=6] ["take time"=4.186105ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.915 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.919 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:22:58.919 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.920 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.923 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.923 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.921 +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/23 09:22:58.931 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.934 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=279.782µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.935 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.935 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:22:58.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=7] ["take time"=2.177092ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.940 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.944 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:22:58.944 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.944 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.947 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.947 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.946 +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/23 09:22:58.955 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.957 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=212.879µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:58.958 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:58.958 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:22:58.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"=21.386544ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.990 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:58.993 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:22:58.993 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:58.994 +00:00] [INFO] [session.go:3959] ["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/23 09:22:58.997 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:58.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:58.997 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:58.995 +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/23 09:22:59.005 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:58.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.007 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=235.384µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.009 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.009 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:22:59.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=9] ["take time"=2.661845ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:58.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.015 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:58.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.018 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:22:59.018 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.019 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.022 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.022 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.02 +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/23 09:22:59.030 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.033 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=260.627µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.035 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.035 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:22:59.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=10] ["take time"=2.053874ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.039 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.045 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:22:59.045 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.045 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.054 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.054 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.053 +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/23 09:22:59.062 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.065 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=341.19µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.066 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.066 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:22:59.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=11] ["take time"=2.007992ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.075 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.079 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:22:59.079 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.080 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.080 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:59.082 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.082 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.081 +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/23 09:22:59.089 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.092 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=319.293µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.094 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.094 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:22:59.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=12] ["take time"=3.086336ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.100 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.104 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:22:59.104 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.104 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.107 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.107 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.105 +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/23 09:22:59.114 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.118 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=319.273µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.119 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.119 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:22:59.121 +00:00] [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"=3.791012ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.127 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.130 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:22:59.130 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.130 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.133 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.133 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.131 +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/23 09:22:59.141 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.145 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=325.146µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.146 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.146 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:22:59.146 +00:00] [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.051717ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.151 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.155 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:22:59.155 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.156 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.159 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.159 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.158 +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/23 09:22:59.166 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.170 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=348.498µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.171 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.171 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:22:59.175 +00:00] [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"=5.701428ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.181 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.186 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:22:59.186 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.186 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.190 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.190 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.188 +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/23 09:22:59.198 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.201 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=317.732µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.203 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.203 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:22:59.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=16] ["take time"=2.342278ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.209 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.213 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:22:59.213 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.214 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.217 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.217 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.215 +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/23 09:22:59.224 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.226 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=251.121µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.227 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.227 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:22: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=17] ["take time"=2.014036ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.234 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.238 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:22:59.238 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.239 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.242 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.242 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.24 +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/23 09:22:59.249 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.253 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=333.105µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.254 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.254 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:22:59.256 +00:00] [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.175936ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.262 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.265 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:22:59.265 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.266 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.269 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.269 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.267 +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/23 09:22:59.274 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.277 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=503.366µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.279 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.279 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:22:59.281 +00:00] [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.477316ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.287 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.292 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:22:59.292 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.293 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.296 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.296 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.294 +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/23 09:22:59.302 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.307 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=387.12µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.309 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.309 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:22: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=20] ["take time"=5.054675ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.318 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.322 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:22:59.322 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.322 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.325 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.325 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.324 +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/23 09:22:59.340 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.343 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=239.345µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.345 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.345 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:22:59.345 +00:00] [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.529564ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.351 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.354 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:22:59.355 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.355 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.364 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.365 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.357 +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/23 09:22:59.372 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.375 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=242.76µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.377 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.377 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:22: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=22] ["take time"=6.258707ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.387 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.391 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:22:59.391 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.391 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.395 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.395 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.393 +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/23 09:22:59.403 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.406 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=314.016µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.407 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.407 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:22:59.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=23] ["take time"=2.877193ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.415 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.419 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:22:59.419 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.419 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.422 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.422 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.42 +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/23 09:22:59.429 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.433 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=348.594µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.434 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.434 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:22:59.434 +00:00] [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.024651ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.439 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.442 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:22:59.443 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.443 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.446 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.446 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.444 +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/23 09:22:59.454 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.457 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=222.441µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.458 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.458 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:22:59.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=25] ["take time"=2.531843ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.465 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.468 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:22:59.468 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.468 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.472 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.472 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.47 +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/23 09:22:59.479 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.482 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=198.057µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.483 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.483 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:22:59.485 +00:00] [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.08733ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.490 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.495 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:22:59.495 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.495 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.498 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.498 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.497 +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/23 09:22:59.507 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.513 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=337.144µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.514 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.514 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:22:59.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=27] ["take time"=4.363761ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.523 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.527 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:22:59.527 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.528 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.530 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.530 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.529 +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/23 09:22:59.538 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.541 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=291.66µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.542 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.542 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:22:59.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=28] ["take time"=2.45335ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.548 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.552 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:22:59.552 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.553 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.553 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:22:59.556 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.556 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.555 +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/23 09:22:59.564 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.568 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=354.717µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.569 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.569 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:22:59.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=29] ["take time"=4.406238ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.580 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.584 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:22:59.584 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.584 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.588 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.588 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.586 +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/23 09:22:59.599 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.603 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=381.359µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.604 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.604 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:22:59.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=30] ["take time"=4.92615ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.612 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.616 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:22:59.616 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.616 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.620 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.620 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.618 +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/23 09:22:59.625 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.629 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=320.933µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.630 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.630 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:22:59.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=31] ["take time"=2.019664ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.636 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.640 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:22:59.640 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.640 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.645 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.645 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.643 +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/23 09:22:59.652 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.662 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=579.963µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.664 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.664 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:22:59.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=32] ["take time"=4.317032ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.677 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.683 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:22:59.683 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.683 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.686 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.686 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.685 +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/23 09:22:59.696 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.699 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=256.52µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.701 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.701 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:22:59.704 +00:00] [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.751953ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.713 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.685 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.716 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:22:59.716 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:22:59.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.722 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.722 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:22:59.730 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.741 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=368.157µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:22:59.743 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.743 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:22: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=34] ["take time"=4.477846ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:22:59.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.751 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.754 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:22:59.755 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.755 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.758 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.758 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.756 +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/23 09:22:59.765 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.769 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=278.233µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.771 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.771 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:22: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=35] ["take time"=4.451026ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.779 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.786 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:22:59.786 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.786 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.791 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.791 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.789 +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/23 09:22:59.801 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.805 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=297.386µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.806 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.806 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:22:59.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=36] ["take time"=2.05869ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.812 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.816 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:22:59.816 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.816 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.819 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.819 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.818 +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/23 09:22:59.828 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.831 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=265.121µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.833 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.833 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:22:59.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=37] ["take time"=2.23316ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.843 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.850 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:22:59.850 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.850 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.854 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.854 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.852 +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/23 09:22:59.860 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.865 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=512.802µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.866 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.866 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:22:59.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=38] ["take time"=5.682104ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.878 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.883 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:22:59.884 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.884 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.888 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.888 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.886 +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/23 09:22:59.893 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.898 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=443.105µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.899 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.899 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:22:59.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=39] ["take time"=2.589558ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.906 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.911 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:22:59.911 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.912 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.916 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.916 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.913 +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/23 09:22:59.924 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=673.499µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.931 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.931 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:22:59.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=40] ["take time"=4.572085ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.939 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.947 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:22:59.947 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.948 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.952 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.952 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.95 +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/23 09:22:59.959 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.965 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=537.806µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:22:59.966 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:22:59.967 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:22:59.969 +00:00] [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.096257ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.977 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:22:59.985 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:22:59.985 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:22:59.985 +00:00] [INFO] [session.go:3959] ["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/23 09:22:59.990 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:22:59.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:22:59.990 +00:00] [INFO] [ddl.go:1210] ["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-23 09:22:59.987 +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/23 09:22:59.998 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:22:59.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.009 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=500.891µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.010 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.010 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:23:00.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=42] ["take time"=4.57702ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:22:59.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.018 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:22:59.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.022 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:23:00.022 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.023 +00:00] [INFO] [session.go:3959] ["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/23 09:23:00.027 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.027 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.025 +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/23 09:23:00.035 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:00.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.041 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=643.301µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.043 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.043 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:23:00.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=43] ["take time"=4.26351ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.052 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:00.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.057 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:23:00.057 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.057 +00:00] [INFO] [session.go:3959] ["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/23 09:23:00.061 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.061 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.059 +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/23 09:23:00.069 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:00.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.073 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=421.55µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.075 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.075 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:23:00.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=44] ["take time"=2.03409ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.079 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:00.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.084 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:23:00.084 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.085 +00:00] [INFO] [session.go:3959] ["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/23 09:23:00.090 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.090 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.087 +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/23 09:23:00.098 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:00.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.102 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=393.067µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.104 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.104 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:23: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=45] ["take time"=5.022474ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.112 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:00.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.117 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:23:00.117 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.117 +00:00] [INFO] [session.go:3959] ["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/23 09:23:00.122 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.122 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.119 +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/23 09:23:00.130 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:00.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.136 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=685.202µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.138 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.138 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:23:00.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=46] ["take time"=4.653221ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.150 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:00.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.154 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:23:00.154 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.155 +00:00] [INFO] [session.go:3959] ["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/23 09:23:00.158 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.159 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.157 +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/23 09:23:00.168 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.173 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=437.323µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.174 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.174 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:23: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=47] ["take time"=4.714984ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.184 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.189 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:23:00.189 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.189 +00:00] [INFO] [session.go:3959] ["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/23 09:23:00.192 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.192 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.191 +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/23 09:23:00.199 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:00.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.203 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=328.342µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.204 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.204 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:23:00.204 +00:00] [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.237439ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.213 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:00.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.217 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:23:00.217 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.217 +00:00] [INFO] [session.go:3959] ["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/23 09:23:00.221 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.221 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.219 +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/23 09:23:00.225 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:00.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.236 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=413.918µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.239 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.239 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:23:00.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=49] ["take time"=4.470884ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.251 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:00.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.255 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:23:00.255 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.255 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:23:00.260 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.260 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:23:00.270 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.277 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=94.17µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:23:00.279 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.279 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:23:00.279 +00:00] [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.007254ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.292 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.295 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:23:00.295 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.301 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.301 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.298 +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/23 09:23:00.310 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:00.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.313 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=221.382µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:00.316 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:00.316 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:23:00.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=51] ["take time"=4.444695ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:00.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.325 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:00.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.329 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:23:00.329 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.365 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.651304196s] [2024/05/23 09:23:00.371 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=b395464d-6994-4dd7-8786-ae82e9ec36e0] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:00.371 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:00.371 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 14, tp add index"] [category=ddl] ["take time"=1.368µs] [2024/05/23 09:23:00.371 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 15, tp add index"] [category=ddl] ["take time"=1.011µs] [2024/05/23 09:23:00.371 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 12, tp add index"] [category=ddl] ["take time"=939ns] [2024/05/23 09:23:00.371 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 13, tp add index"] [category=ddl] ["take time"=1.26µs] [2024/05/23 09:23:00.371 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:00.371 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 11, tp general"] [category=ddl] ["take time"=773ns] [2024/05/23 09:23:00.371 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:00.371 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:00.371 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:00.375 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=b395464d-6994-4dd7-8786-ae82e9ec36e0] ["take time"=8.938386ms] [2024/05/23 09:23:00.375 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=b395464d-6994-4dd7-8786-ae82e9ec36e0] [2024/05/23 09:23:00.375 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:00.375 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:00.375 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:00.375 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:00.375 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:00.375 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:00.375 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:00.375 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:00.375 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:00.375 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:00.375 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:00.375 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:00.375 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:00.375 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:00.375 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=9.176902ms] [2024/05/23 09:23:00.375 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=fa2a939f-b59b-4448-9366-ad9ed925379d] ["ddl lease"=200ms] ["stats lease"=-1ns] [2024/05/23 09:23:00.382 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:23:00.382 +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/23 09:23:00.414 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=30.672074ms] [2024/05/23 09:23:00.423 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:00.423 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=2d4d4ddd-6936-4677-977a-0b8e213dabd2] [runWorker=true] [2024/05/23 09:23:00.423 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:00.423 +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/23 09:23:00.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:00.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:00.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:00.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:00.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:00.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:00.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:00.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:00.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:00.423 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:00.424 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:23:00.424 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:00.424 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:00.425 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:00.425 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:00.431 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:00.431 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:23:00.445 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:00.448 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:00.450 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:00.450 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:23:00.451 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:00.451 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:00.451 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:23:00.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:00.452 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:00.452 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:00.453 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:23:00.454 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:00.456 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:23:00.456 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:23:00.461 +00:00] [INFO] [set.go:170] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:23:00.462 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=51] [cur_db=] [sql="create database test_db_state default charset utf8 default collate utf8_bin"] [user=] [2024/05/23 09:23:00.465 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:00.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.465 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:00.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_db_state default charset utf8 default collate utf8_bin"] [2024/05/23 09:23:00.474 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:00.475 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:00.482 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=3] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.484 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=88.607µs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:23:00.485 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:23:00.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=52] ["take time"=3.121494ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:00.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.496 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=3] [job="ID:105, Type:create schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.499 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:23:00.499 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.499 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=52] [cur_db=test_db_state] [sql="drop table if exists t1"] [user=] [2024/05/23 09:23:00.500 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=52] [cur_db=test_db_state] [sql="create table t1(a bigint unsigned not null primary key, b int, c int, d int, index idx(b), index idx2(d));"] [user=] [2024/05/23 09:23:00.504 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.504 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(a bigint unsigned not null primary key, b int, c int, d int, index idx(b), index idx2(d));"] [2024/05/23 09:23:00.511 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=107] [conn=3] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.515 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=324.89µs] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.516 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/23 09:23:00.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=53] ["take time"=4.629377ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.528 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=107] [conn=3] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.532 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:23:00.532 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.533 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=53] [cur_db=test_db_state] [sql="drop table if exists t"] [user=] [2024/05/23 09:23:00.534 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=53] [cur_db=test_db_state] [sql="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [user=] [2024/05/23 09:23:00.537 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.537 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [2024/05/23 09:23:00.543 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=109] [conn=3] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.548 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=235.433µs] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.549 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2024/05/23 09:23:00.550 +00:00] [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.999456ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.556 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=109] [conn=3] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.560 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:23:00.560 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.582 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=54] [cur_db=test_db_state] [sql="alter table t1 drop column b, drop column d"] [user=] [2024/05/23 09:23:00.585 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:23:00.585 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t1 drop column b, drop column d"] [2024/05/23 09:23:00.591 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.591 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:00.591 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.592 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:23:00.593 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.597 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.597 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:00.598 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.599 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:23:00.600 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.606 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.606 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:00.607 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:00.607 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.610 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=418.721µs] [gotSchemaVersion=55] [phyTblIDs="[106]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/23 09:23:00.612 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55] [2024/05/23 09:23: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=55] ["take time"=4.288787ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.616 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.618 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[planner:1054]Unknown column 'b' in 'where clause'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'where clause'\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.(*expressionRewriter).toColumn\n\tpkg/planner/core/expression_rewriter.go:2438\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1454\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnName).Accept\n\tpkg/parser/ast/expressions.go:534\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:607\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:211\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:302\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:241\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:208\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelection\n\tpkg/planner/core/logical_plan_builder.go:1300\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildDelete\n\tpkg/planner/core/logical_plan_builder.go:6155\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:496\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:555\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:472\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:340\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:99\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).Execute\n\tpkg/session/session.go:1544\ngithub.com/pingcap/tidb/pkg/ddl_test.runTestInSchemaState.func1\n\tpkg/ddl/db_change_test.go:809\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobUpdated\n\tpkg/ddl/util/callback/callback.go:124\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:495\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"] [SQL="delete from t1 where b=1"] [2024/05/23 09:23:00.642 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.642 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:00.643 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.644 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=270.081µs] [gotSchemaVersion=56] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:00.646 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/23 09:23:00.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=56] ["take time"=2.974683ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.649 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.652 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.652 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:00.653 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.655 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=349.477µs] [gotSchemaVersion=57] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:00.657 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=57] [2024/05/23 09:23:00.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=57] ["take time"=4.42094ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.661 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.665 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.665 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:00.666 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.668 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=302.318µs] [gotSchemaVersion=58] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:00.670 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=58] [2024/05/23 09:23:00.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=58] ["take time"=6.446656ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.676 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.687 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.687 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:00.687 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.690 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=300.983µs] [gotSchemaVersion=59] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:00.692 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=59] [2024/05/23 09:23:00.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=59] ["take time"=2.188336ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.693 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.698 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.698 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:00.698 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.701 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=286.676µs] [gotSchemaVersion=60] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:00.703 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=60] [2024/05/23 09:23:00.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=60] ["take time"=4.434284ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.707 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.712 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.712 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:00.713 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.715 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=200.246µs] [gotSchemaVersion=61] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:00.717 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=61] [2024/05/23 09:23:00.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=61] ["take time"=2.211741ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.719 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.723 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.724 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.725 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:23:00.726 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.736 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=106] [indexIDs="[1]"] [comment="drop column: table ID"] [2024/05/23 09:23:00.738 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=106] [indexIDs="[2]"] [comment="drop column: table ID"] [2024/05/23 09:23:00.739 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="alter table multi-schema change"] [2024/05/23 09:23:00.739 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=3] [job="ID:110, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.744 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.748 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=1] [startKey=74800000000000006a5f698000000000000001] [endKey=74800000000000006a5f698000000000000002] [2024/05/23 09:23:00.750 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=2] [startKey=74800000000000006a5f698000000000000002] [endKey=74800000000000006a5f698000000000000003] [2024/05/23 09:23:00.752 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/23 09:23:00.752 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.758 +00:00] [INFO] [set.go:170] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:23:00.759 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=61] [cur_db=test_db_state] [sql="drop table if exists t1"] [user=] [2024/05/23 09:23:00.762 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.762 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/23 09:23:00.768 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=3] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.773 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=91.397µs] [gotSchemaVersion=62] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:00.778 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=62] [2024/05/23 09:23:00.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=62] ["take time"=7.311996ms] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.788 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=3] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.791 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=56.531µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:00.793 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=63] [2024/05/23 09:23:00.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=63] ["take time"=2.041464ms] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.800 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=3] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.802 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=66.04µs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:00.804 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=64] [2024/05/23 09:23:00.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=64] ["take time"=2.026538ms] [job="ID:111, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:00.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.809 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=111] [tableIDs="[106]"] [comment="drop table: table ID"] [2024/05/23 09:23:00.810 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=111] [jobType="drop table"] [2024/05/23 09:23:00.810 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=3] [job="ID:111, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:00.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.813 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=111] [elementID=1] [startKey=74800000000000006a] [endKey=74800000000000006b] [2024/05/23 09:23:00.816 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/23 09:23:00.816 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.816 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=64] [cur_db=test_db_state] [sql="create table t1(a bigint unsigned not null primary key, b int, c int, d int, index idx(b), index idx2(d));"] [user=] [2024/05/23 09:23:00.819 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.819 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(a bigint unsigned not null primary key, b int, c int, d int, index idx(b), index idx2(d));"] [2024/05/23 09:23:00.828 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.832 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=321.455µs] [gotSchemaVersion=65] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.833 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=65] [2024/05/23 09:23:00.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=65] ["take time"=4.757339ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.843 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=113] [conn=3] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.847 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/23 09:23:00.847 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.849 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=65] [cur_db=test_db_state] [sql="drop table if exists t"] [user=] [2024/05/23 09:23:00.854 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.854 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t"] [2024/05/23 09:23:00.868 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.871 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=121.96µs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:00.873 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=66] [2024/05/23 09:23:00.885 +00:00] [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"=13.900748ms] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.890 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.892 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=46.401µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:00.894 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=67] [2024/05/23 09:23:00.895 +00:00] [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"=3.030628ms] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.900 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.902 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=44.692µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:00.904 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=68] [2024/05/23 09:23:00.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=68] ["take time"=2.063459ms] [job="ID:114, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:00.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.912 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=114] [tableIDs="[108]"] [comment="drop table: table ID"] [2024/05/23 09:23:00.913 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop table"] [2024/05/23 09:23:00.913 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:00.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.918 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=1] [startKey=74800000000000006c] [endKey=74800000000000006d] [2024/05/23 09:23:00.920 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/23 09:23:00.920 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.921 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=68] [cur_db=test_db_state] [sql="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [user=] [2024/05/23 09:23:00.923 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:00.924 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [2024/05/23 09:23:00.933 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.939 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=390.853µs] [gotSchemaVersion=69] [phyTblIDs="[115]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:00.941 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=69] [2024/05/23 09:23:00.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=69] ["take time"=4.388126ms] [job="ID:116, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:00.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.954 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=116] [conn=3] [job="ID:116, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:00.961 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/23 09:23:00.961 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:00.982 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=69] [cur_db=test_db_state] [sql="alter table t1 drop column b, drop column d"] [user=] [2024/05/23 09:23:00.984 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:23:00.984 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t1 drop column b, drop column d"] [2024/05/23 09:23:00.992 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.992 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:00.993 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.994 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=117] [2024/05/23 09:23:00.995 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.999 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:00.999 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:01.000 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.001 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=117] [2024/05/23 09:23:01.002 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.007 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.007 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.008 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.008 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.010 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=375.005µs] [gotSchemaVersion=70] [phyTblIDs="[112]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/23 09:23:01.012 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=70] [2024/05/23 09:23:01.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=70] ["take time"=4.119498ms] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.021 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.025 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.025 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.026 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.028 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=333.293µs] [gotSchemaVersion=71] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.030 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=71] [2024/05/23 09:23:01.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=71] ["take time"=2.040001ms] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.031 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.034 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.035 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.035 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.037 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=233.521µs] [gotSchemaVersion=72] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.039 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=72] [2024/05/23 09:23:01.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=72] ["take time"=3.029604ms] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.041 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.045 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.045 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.046 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.048 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=239.434µs] [gotSchemaVersion=73] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.049 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=73] [2024/05/23 09:23:01.050 +00:00] [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.253688ms] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.051 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.055 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.055 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.056 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.058 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=296.317µs] [gotSchemaVersion=74] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.060 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=74] [2024/05/23 09:23:01.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=74] ["take time"=2.050765ms] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.072 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.074 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[planner:1054]Unknown column 'b' in 'where clause'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'where clause'\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.(*expressionRewriter).toColumn\n\tpkg/planner/core/expression_rewriter.go:2438\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1454\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnName).Accept\n\tpkg/parser/ast/expressions.go:534\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:607\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:211\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:302\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:241\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:208\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelection\n\tpkg/planner/core/logical_plan_builder.go:1300\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildDelete\n\tpkg/planner/core/logical_plan_builder.go:6155\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:496\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:555\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:472\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:340\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:99\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).Execute\n\tpkg/session/session.go:1544\ngithub.com/pingcap/tidb/pkg/ddl_test.runTestInSchemaState.func1\n\tpkg/ddl/db_change_test.go:809\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobUpdated\n\tpkg/ddl/util/callback/callback.go:124\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:495\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"] [SQL="delete from t1 where b=1"] [2024/05/23 09:23:01.084 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.084 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.085 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.087 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=279.281µs] [gotSchemaVersion=75] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.089 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=75] [2024/05/23 09:23:01.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=75] ["take time"=2.295274ms] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.091 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.094 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.094 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.095 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.097 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=207.088µs] [gotSchemaVersion=76] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.098 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=76] [2024/05/23 09:23:01.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=76] ["take time"=3.060263ms] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.101 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.104 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.104 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.105 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=117] [2024/05/23 09:23:01.106 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.109 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=117] [tableID=112] [indexIDs="[1]"] [comment="drop column: table ID"] [2024/05/23 09:23:01.110 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=117] [tableID=112] [indexIDs="[2]"] [comment="drop column: table ID"] [2024/05/23 09:23:01.111 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="alter table multi-schema change"] [2024/05/23 09:23:01.111 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=3] [job="ID:117, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.114 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:00.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.115 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=117] [elementID=1] [startKey=7480000000000000705f698000000000000001] [endKey=7480000000000000705f698000000000000002] [2024/05/23 09:23:01.116 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/23 09:23:01.116 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.118 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=117] [elementID=2] [startKey=7480000000000000705f698000000000000002] [endKey=7480000000000000705f698000000000000003] [2024/05/23 09:23:01.121 +00:00] [INFO] [set.go:170] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:23:01.123 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=76] [cur_db=test_db_state] [sql="drop table if exists t1"] [user=] [2024/05/23 09:23:01.125 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.125 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/23 09:23:01.139 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.141 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=94.144µs] [gotSchemaVersion=77] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:01.143 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=77] [2024/05/23 09:23:01.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=77] ["take time"=2.120413ms] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.151 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.153 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=52.798µs] [gotSchemaVersion=78] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:01.154 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=78] [2024/05/23 09:23:01.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=78] ["take time"=12.992257ms] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.172 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=46.711µs] [gotSchemaVersion=79] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:01.176 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=79] [2024/05/23 09:23:01.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=79] ["take time"=2.550776ms] [job="ID:118, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:01.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.185 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=118] [tableIDs="[112]"] [comment="drop table: table ID"] [2024/05/23 09:23:01.187 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="drop table"] [2024/05/23 09:23:01.188 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=118] [conn=3] [job="ID:118, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:01.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.191 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=1] [startKey=748000000000000070] [endKey=748000000000000071] [2024/05/23 09:23:01.194 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/23 09:23:01.194 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.194 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=79] [cur_db=test_db_state] [sql="create table t1(a bigint unsigned not null primary key, b int, c int, d int, index idx(b), index idx2(d));"] [user=] [2024/05/23 09:23:01.197 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.197 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(a bigint unsigned not null primary key, b int, c int, d int, index idx(b), index idx2(d));"] [2024/05/23 09:23:01.204 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.207 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=245.12µs] [gotSchemaVersion=80] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.208 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=80] [2024/05/23 09:23:01.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=80] ["take time"=5.085607ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.219 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=120] [conn=3] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.222 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/23 09:23:01.222 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.224 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=80] [cur_db=test_db_state] [sql="drop table if exists t"] [user=] [2024/05/23 09:23:01.226 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.227 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t"] [2024/05/23 09:23:01.233 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.235 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=80.663µs] [gotSchemaVersion=81] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:01.237 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=81] [2024/05/23 09:23:01.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=81] ["take time"=2.083198ms] [job="ID:121, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.247 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.249 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=44.272µs] [gotSchemaVersion=82] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:01.251 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=82] [2024/05/23 09:23:01.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=82] ["take time"=6.031855ms] [job="ID:121, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.261 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.264 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=49.929µs] [gotSchemaVersion=83] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:01.265 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=83] [2024/05/23 09:23:01.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=83] ["take time"=4.699445ms] [job="ID:121, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:01.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.274 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=121] [tableIDs="[115]"] [comment="drop table: table ID"] [2024/05/23 09:23:01.275 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="drop table"] [2024/05/23 09:23:01.276 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=3] [job="ID:121, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:01.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.283 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/23 09:23:01.283 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.283 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=1] [startKey=748000000000000073] [endKey=748000000000000074] [2024/05/23 09:23:01.283 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=83] [cur_db=test_db_state] [sql="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [user=] [2024/05/23 09:23:01.286 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.286 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [2024/05/23 09:23:01.293 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.302 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=258.825µs] [gotSchemaVersion=84] [phyTblIDs="[122]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.303 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=84] [2024/05/23 09:23:01.306 +00:00] [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.682881ms] [job="ID:123, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.311 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=123] [conn=3] [job="ID:123, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.315 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/23 09:23:01.315 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.334 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=84] [cur_db=test_db_state] [sql="alter table t1 drop column b, drop column d"] [user=] [2024/05/23 09:23:01.337 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:23:01.337 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t1 drop column b, drop column d"] [2024/05/23 09:23:01.342 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.342 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:01.343 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.344 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/23 09:23:01.345 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.348 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.348 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:01.348 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.349 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/23 09:23:01.350 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.353 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.354 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.360 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.361 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.363 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=391.8µs] [gotSchemaVersion=85] [phyTblIDs="[119]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/23 09:23:01.365 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=85] [2024/05/23 09:23:01.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=85] ["take time"=4.420205ms] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.368 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.372 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.372 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.373 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.375 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=347.207µs] [gotSchemaVersion=86] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.376 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=86] [2024/05/23 09:23:01.377 +00:00] [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.030169ms] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.378 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.380 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.380 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.381 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.383 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=316.05µs] [gotSchemaVersion=87] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.384 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=87] [2024/05/23 09:23:01.385 +00:00] [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"=2.984155ms] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.387 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.389 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.389 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.390 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.392 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=88] ["start time"=290.079µs] [gotSchemaVersion=88] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.394 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=88] [2024/05/23 09:23:01.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=88] ["take time"=3.040752ms] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.396 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.403 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.403 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.404 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.412 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=88] [neededSchemaVersion=89] ["start time"=336.657µs] [gotSchemaVersion=89] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.414 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=89] [2024/05/23 09:23:01.416 +00:00] [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"=4.45624ms] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.418 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.422 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.422 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.422 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.424 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=212.409µs] [gotSchemaVersion=90] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.427 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=90] [2024/05/23 09:23:01.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=90] ["take time"=3.31716ms] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.429 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.431 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[planner:1054]Unknown column 'b' in 'where clause'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'where clause'\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.(*expressionRewriter).toColumn\n\tpkg/planner/core/expression_rewriter.go:2438\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1454\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnName).Accept\n\tpkg/parser/ast/expressions.go:534\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:607\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:211\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:302\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:241\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:208\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelection\n\tpkg/planner/core/logical_plan_builder.go:1300\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildDelete\n\tpkg/planner/core/logical_plan_builder.go:6155\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:496\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:555\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:472\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:340\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:99\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).Execute\n\tpkg/session/session.go:1544\ngithub.com/pingcap/tidb/pkg/ddl_test.runTestInSchemaState.func1\n\tpkg/ddl/db_change_test.go:809\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobUpdated\n\tpkg/ddl/util/callback/callback.go:124\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:495\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"] [SQL="delete from t1 where b=1"] [2024/05/23 09:23:01.432 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:23:01.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:23:01.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:23:01.432 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:01.438 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.438 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:01.438 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.441 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=276.532µs] [gotSchemaVersion=91] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:01.443 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=91] [2024/05/23 09:23:01.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=91] ["take time"=6.678106ms] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.449 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.454 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.454 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.455 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/23 09:23:01.455 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/23 09:23:01.455 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/23 09:23:01.456 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.456 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/23 09:23:01.458 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/23 09:23:01.458 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/23 09:23:01.458 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/23 09:23:01.458 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/23 09:23:01.460 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=124] [tableID=119] [indexIDs="[1]"] [comment="drop column: table ID"] [2024/05/23 09:23:01.461 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=124] [tableID=119] [indexIDs="[2]"] [comment="drop column: table ID"] [2024/05/23 09:23:01.465 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="alter table multi-schema change"] [2024/05/23 09:23:01.466 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=3] [job="ID:124, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.470 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:01.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:01.470 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=1] [startKey=7480000000000000775f698000000000000001] [endKey=7480000000000000775f698000000000000002] [2024/05/23 09:23:01.472 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/23 09:23:01.472 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.475 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=2] [startKey=7480000000000000775f698000000000000002] [endKey=7480000000000000775f698000000000000003] [2024/05/23 09:23:01.479 +00:00] [INFO] [set.go:170] ["set global var"] [conn=6] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:23:01.483 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=2d4d4ddd-6936-4677-977a-0b8e213dabd2] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:01.483 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:01.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 19, tp add index"] [category=ddl] ["take time"=2.106µs] [2024/05/23 09:23:01.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 20, tp add index"] [category=ddl] ["take time"=1.053µs] [2024/05/23 09:23:01.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 17, tp add index"] [category=ddl] ["take time"=1.242µs] [2024/05/23 09:23:01.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 18, tp add index"] [category=ddl] ["take time"=859ns] [2024/05/23 09:23:01.483 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:01.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 16, tp general"] [category=ddl] ["take time"=937ns] [2024/05/23 09:23:01.483 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:01.483 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:01.483 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:01.484 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=2d4d4ddd-6936-4677-977a-0b8e213dabd2] ["take time"=3.6668ms] [2024/05/23 09:23:01.484 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=2d4d4ddd-6936-4677-977a-0b8e213dabd2] [2024/05/23 09:23:01.484 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:23:01.484 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/23 09:23:01.484 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:01.484 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:01.484 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:01.484 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:01.484 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:01.484 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:01.484 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:01.484 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:01.484 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:01.484 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:23:01.485 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:01.485 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:1549] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=2d4d4ddd-6936-4677-977a-0b8e213dabd2] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=2d4d4ddd-6936-4677-977a-0b8e213dabd2] [ownerKey=/tidb/stats/owner] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:01.485 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:01.485 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/23 09:23:01.485 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=2d4d4ddd-6936-4677-977a-0b8e213dabd2] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:1551] ["dist task scheduler manager stopped"] [id=2d4d4ddd-6936-4677-977a-0b8e213dabd2] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:23:01.485 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:23:01.485 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:01.486 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=5.229868ms] [2024/05/23 09:23:01.487 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:23:01.487 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:23:01.487 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:23:01.487 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:23:01.487 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:23:01.487 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestSchemaChangeForDropColumnsWithIndexes (2.81s) === RUN TestTableDDLWithTimeType [2024/05/23 09:23:01.491 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:23:01.492 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.492 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.492 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.492 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.493 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.495 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=1b984d8e-f59d-4f8b-8d9b-b0afd2bc25cc] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:23:01.502 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/23 09:23:01.503 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:351\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:23:01.522 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=19.137096ms] [2024/05/23 09:23:01.524 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:01.524 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=f35c411c-50b1-4991-a629-064bac75566b] [runWorker=true] [2024/05/23 09:23:01.525 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:01.525 +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/23 09:23:01.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:01.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:01.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:01.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:01.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:01.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:01.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:01.525 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:01.525 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:01.526 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:01.526 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:01.526 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:01.526 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:01.526 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:01.526 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:23:01.529 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.529 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:23:01.536 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.557 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=18.776133ms] [2024/05/23 09:23:01.559 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:01.561 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.561 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:23:01.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=1] ["take time"=24.289504ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:01.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.570 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.573 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:23:01.573 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.574 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:23:01.575 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.580 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.580 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.576 +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/23 09:23:01.591 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.598 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=927.542µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.600 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.600 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:23:01.602 +00:00] [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"=5.25438ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.611 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.617 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:23:01.617 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.617 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.617 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.620 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.621 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.619 +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/23 09:23:01.629 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.632 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=322.334µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.634 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.634 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:23:01.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=3] ["take time"=2.531667ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.645 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.648 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:23:01.648 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.648 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.649 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.651 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.651 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.65 +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/23 09:23:01.661 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.665 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=310.973µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.666 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.666 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:23:01.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=4] ["take time"=2.725065ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.673 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.677 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:23:01.677 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.678 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.682 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.682 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.679 +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/23 09:23:01.689 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.695 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=729.357µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.696 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.696 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:23:01.698 +00:00] [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.257693ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.706 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.712 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:23:01.712 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.713 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.716 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.716 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.714 +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/23 09:23:01.724 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.729 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=477.416µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.731 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.731 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:23:01.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=6] ["take time"=4.443608ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.739 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.743 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:23:01.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.744 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.747 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.747 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.746 +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/23 09:23:01.754 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.757 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=262.415µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.758 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.759 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:23:01.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=7] ["take time"=2.05922ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.764 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.768 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:23:01.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.769 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.771 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.771 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.77 +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/23 09:23:01.778 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.781 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=264.267µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.782 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.782 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:23:01.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=8] ["take time"=2.772523ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.790 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.792 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:23:01.792 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.793 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.796 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.796 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.794 +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/23 09:23:01.805 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.807 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=205.885µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.808 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.808 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:23:01.809 +00:00] [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.236595ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.814 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.817 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:23:01.818 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.818 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.822 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.822 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.82 +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/23 09:23:01.830 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.833 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=356.338µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.835 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.835 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:23:01.835 +00:00] [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.032933ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.841 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.845 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:23:01.845 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.846 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.846 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.846 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.846 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.849 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.850 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.848 +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/23 09:23:01.869 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.872 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=249.661µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.873 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.873 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:23:01.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=11] ["take time"=2.382511ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.881 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.885 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:23:01.885 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.886 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.886 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:01.890 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.890 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.888 +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/23 09:23:01.899 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.904 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=515.965µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.906 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.906 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:23:01.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=12] ["take time"=6.321898ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.917 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.921 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:23:01.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.922 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.926 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.926 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.924 +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/23 09:23:01.933 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.937 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=429.731µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.939 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.939 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:23:01.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=13] ["take time"=8.412983ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.953 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.958 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:23:01.958 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.958 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.962 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.962 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.96 +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/23 09:23:01.968 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.971 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=267.729µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:01.972 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:01.972 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:23:01.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"=2.380368ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.978 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:01.982 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:23:01.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:01.982 +00:00] [INFO] [session.go:3959] ["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/23 09:23:01.986 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:01.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:01.986 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:01.984 +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/23 09:23:02.003 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:01.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.006 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=347.332µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.008 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.008 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:23:02.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=15] ["take time"=8.076136ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:01.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.020 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:01.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.026 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:23:02.026 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.026 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.029 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.030 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.028 +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/23 09:23:02.035 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.038 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=218.847µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.040 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.040 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:23:02.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=16] ["take time"=2.016959ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.048 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.051 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:23:02.051 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.052 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.056 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.056 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.054 +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/23 09:23:02.063 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.067 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=347.908µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.068 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.068 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:23:02.071 +00:00] [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.838616ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.078 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.082 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:23:02.082 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.083 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.086 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.086 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.084 +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/23 09:23:02.093 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.098 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=348.274µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.100 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.100 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:23:02.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=18] ["take time"=4.151674ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.108 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.112 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:23:02.112 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.113 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.116 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.116 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.114 +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/23 09:23:02.124 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.129 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=378.482µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.130 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.130 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:23:02.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=19] ["take time"=8.733444ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.144 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.148 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:23:02.148 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.149 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.149 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.149 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.149 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.149 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.149 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.150 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.154 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.154 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.152 +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/23 09:23:02.160 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.168 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=399.807µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.170 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.170 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:23:02.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=20] ["take time"=4.681808ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.188 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.191 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:23:02.191 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.192 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.196 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.196 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.194 +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/23 09:23:02.203 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.206 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=172.86µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.207 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.207 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:23:02.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=21] ["take time"=6.612756ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.217 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.220 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:23:02.220 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.221 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.224 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.224 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.222 +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/23 09:23:02.230 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.233 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=196.351µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.234 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.234 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:23:02.235 +00:00] [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.551202ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.243 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.246 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:23:02.246 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.246 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.249 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.249 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.248 +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/23 09:23:02.259 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.265 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=440.323µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.267 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.267 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:23:02.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=23] ["take time"=4.206738ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.275 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.279 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:23:02.279 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.279 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.282 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.283 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.281 +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/23 09:23:02.292 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.295 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=263.439µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.297 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.297 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:23:02.297 +00:00] [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.32309ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.303 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.281 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.306 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:23:02.307 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.307 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.310 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.310 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.309 +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/23 09:23:02.318 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.321 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=285.059µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.323 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.323 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:23:02.331 +00:00] [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"=10.04489ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.343 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.347 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:23:02.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.348 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.359 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.359 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.358 +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/23 09:23:02.365 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.368 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=273.173µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.370 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.370 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:23:02.371 +00:00] [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.025092ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.377 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.380 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:23:02.380 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.381 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.388 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.389 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.383 +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/23 09:23:02.395 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.398 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=333.752µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.399 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.399 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:23:02.400 +00:00] [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.898702ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.406 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.409 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:23:02.409 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.410 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.413 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.413 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.411 +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/23 09:23:02.421 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.425 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=259.593µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.426 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.426 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:23:02.426 +00:00] [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.203053ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.431 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.441 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:23:02.441 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.441 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.441 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.444 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.444 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.443 +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/23 09:23:02.461 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.473 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=420.246µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.475 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.475 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:23:02.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=29] ["take time"=8.843742ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.494 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.499 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:23:02.499 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.500 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.503 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.502 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.503 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.502 +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/23 09:23:02.512 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.502 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.516 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=334.686µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.518 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.518 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:23:02.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=30] ["take time"=2.170211ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.502 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.526 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.502 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.528 +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/23 09:23:02.528 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:02.530 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:23:02.530 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.531 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.534 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.534 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.532 +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/23 09:23:02.543 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.547 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=411.311µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.549 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.549 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:23:02.551 +00:00] [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.63089ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.558 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.563 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:23:02.563 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.563 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.567 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.567 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.565 +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/23 09:23:02.574 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.579 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=535.63µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.581 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.581 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:23:02.583 +00:00] [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.723874ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.591 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.596 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:23:02.596 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.597 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.597 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.597 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.600 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.600 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.599 +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/23 09:23:02.607 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.611 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=242.561µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.613 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.613 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:23:02.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=33] ["take time"=4.154577ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.621 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.624 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:23:02.624 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.629 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.629 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:23:02.635 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.640 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=402.205µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:02.641 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.641 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:23:02.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=34] ["take time"=2.013775ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:02.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.649 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.653 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:23:02.653 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.654 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.657 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.657 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.656 +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/23 09:23:02.669 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.673 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=332.106µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.674 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.674 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:23:02.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=35] ["take time"=2.593934ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.682 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.686 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:23:02.686 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.686 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.686 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.686 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.690 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.690 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.688 +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/23 09:23:02.700 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.704 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=284.515µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.705 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.705 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:23:02.706 +00:00] [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.513102ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.712 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.716 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:23:02.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.716 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.723 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.723 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.718 +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/23 09:23:02.734 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.747 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=331.567µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.749 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.749 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:23:02.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=37] ["take time"=4.479637ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.759 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.765 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:23:02.765 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.766 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.770 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.770 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.768 +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/23 09:23:02.777 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.781 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=561.859µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.783 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.783 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:23:02.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=38] ["take time"=4.422533ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.793 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.799 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:23:02.799 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.800 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.800 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.800 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.800 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.804 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.804 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.802 +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/23 09:23:02.810 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.817 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=528.986µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.818 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.818 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:23:02.821 +00:00] [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.606091ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.826 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.831 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:23:02.831 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.831 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.831 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.835 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.835 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.833 +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/23 09:23:02.844 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.848 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=669.05µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.850 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.850 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:23:02.852 +00:00] [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.420846ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.858 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.863 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:23:02.863 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.864 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.864 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.868 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.869 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.866 +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/23 09:23:02.876 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.880 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=461.042µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.882 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.882 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:23:02.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=41] ["take time"=2.089872ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.887 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.892 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:23:02.892 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.892 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.897 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.897 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.895 +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/23 09:23:02.905 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.910 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=627.343µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.912 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.912 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:23:02.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=42] ["take time"=4.518223ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.920 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.924 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:23:02.924 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.924 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.930 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.930 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.926 +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/23 09:23:02.935 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.940 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=529.471µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.941 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.941 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:23:02.944 +00:00] [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.772538ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.949 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.953 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:23:02.953 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.953 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.953 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.953 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.954 +00:00] [INFO] [session.go:3959] ["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/23 09:23:02.957 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:02.957 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.955 +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/23 09:23:02.966 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.970 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=405.73µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:02.972 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:02.972 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:23:02.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=44] ["take time"=4.381488ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.979 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:02.983 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:23:02.983 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:02.983 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:02.983 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.003 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:02.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.003 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:02.994 +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/23 09:23:03.010 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:02.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.016 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=390.19µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.018 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.018 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:23:03.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=45] ["take time"=4.228971ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:02.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.025 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:02.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.029 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:23:03.029 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.030 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:03.030 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:03.030 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.034 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.034 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.032 +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/23 09:23:03.041 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.046 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=746.869µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.048 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.048 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:23:03.050 +00:00] [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.191751ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.056 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.061 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:23:03.061 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.062 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.065 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.065 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.063 +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/23 09:23:03.071 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.075 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=461.92µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.076 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.076 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:23:03.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=47] ["take time"=4.020916ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.085 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.096 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:23:03.096 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.096 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:03.096 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.099 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.100 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.098 +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/23 09:23:03.106 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.109 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=281.887µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.111 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.111 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:23:03.112 +00:00] [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.608784ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.116 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.120 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:23:03.120 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.120 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.123 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.123 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.121 +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/23 09:23:03.130 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.133 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=330.482µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.134 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.134 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:23:03.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=49] ["take time"=2.403491ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.139 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.143 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:23:03.143 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.143 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:23:03.146 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.146 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:23:03.152 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.154 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=74.912µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:23:03.155 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.155 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:23:03.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=50] ["take time"=2.341391ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:03.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.161 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.163 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:23:03.163 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.166 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.166 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.165 +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/23 09:23:03.174 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.177 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=249.184µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:03.178 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.178 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:23:03.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=51] ["take time"=2.024813ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:03.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.182 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.185 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:23:03.186 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.222 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.696537815s] [2024/05/23 09:23:03.222 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f35c411c-50b1-4991-a629-064bac75566b] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:03.222 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:03.222 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 24, tp add index"] [category=ddl] ["take time"=32.893µs] [2024/05/23 09:23:03.222 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 25, tp add index"] [category=ddl] ["take time"=11.72µs] [2024/05/23 09:23:03.222 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 22, tp add index"] [category=ddl] ["take time"=9.983µs] [2024/05/23 09:23:03.222 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 23, tp add index"] [category=ddl] ["take time"=11.409µs] [2024/05/23 09:23:03.222 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:03.222 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 21, tp general"] [category=ddl] ["take time"=1.25µs] [2024/05/23 09:23:03.222 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:03.223 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:03.223 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:03.229 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=f35c411c-50b1-4991-a629-064bac75566b] ["take time"=6.8299ms] [2024/05/23 09:23:03.229 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=f35c411c-50b1-4991-a629-064bac75566b] [2024/05/23 09:23:03.229 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:03.229 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:03.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:03.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:03.229 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:03.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:03.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:03.229 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:03.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:03.229 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:03.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:03.229 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=7.120401ms] [2024/05/23 09:23:03.229 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=1b984d8e-f59d-4f8b-8d9b-b0afd2bc25cc] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:23:03.236 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/23 09:23:03.272 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=35.101718ms] [2024/05/23 09:23:03.282 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:03.282 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=0719a436-1fbc-4309-b8dd-31701a28d603] [runWorker=true] [2024/05/23 09:23:03.282 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:03.282 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:03.282 +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/23 09:23:03.282 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:03.282 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:03.282 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:03.282 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:03.282 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:03.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:03.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:03.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:03.283 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:03.283 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:03.283 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:03.283 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:03.283 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:03.290 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:03.291 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:23:03.303 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:03.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:03.307 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:03.307 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:23:03.308 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:03.308 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:03.308 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:23:03.309 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:03.310 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:03.310 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:23:03.310 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:03.311 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:03.311 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:23:03.311 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:23:03.316 +00:00] [INFO] [set.go:170] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:23:03.317 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/23 09:23:03.317 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a time(7))"] [user=] [2024/05/23 09:23:03.318 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.318 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.checkColumnsAttributes\n\tpkg/ddl/ddl_api.go:1875\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidExtra\n\tpkg/ddl/ddl_api.go:2401\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createTableWithInfoJob\n\tpkg/ddl/ddl_api.go:2794\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2873\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2719\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:356\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.318 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a datetime(7))"] [user=] [2024/05/23 09:23:03.319 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.319 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.checkColumnsAttributes\n\tpkg/ddl/ddl_api.go:1875\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidExtra\n\tpkg/ddl/ddl_api.go:2401\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createTableWithInfoJob\n\tpkg/ddl/ddl_api.go:2794\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2873\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2719\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:357\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.319 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a timestamp(7))"] [user=] [2024/05/23 09:23:03.320 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.320 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.checkColumnsAttributes\n\tpkg/ddl/ddl_api.go:1875\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidExtra\n\tpkg/ddl/ddl_api.go:2401\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createTableWithInfoJob\n\tpkg/ddl/ddl_api.go:2794\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2873\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2719\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:358\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.320 +00:00] [WARN] [session.go:1573] ["parse SQL failed"] [error="[parser:1064]You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 24 near \"-1))\" "] [errorVerbose="[parser:1064]You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 24 near \"-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/util.SyntaxError\n\tpkg/util/misc.go:161\ngithub.com/pingcap/tidb/pkg/session.(*session).Parse\n\tpkg/session/session.go:1568\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:369\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:359\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="create table t (a time(-1))"] [2024/05/23 09:23:03.320 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a datetime)"] [user=] [2024/05/23 09:23:03.323 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.323 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a datetime)"] [2024/05/23 09:23:03.328 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=7] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:03.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.331 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=145.827µs] [gotSchemaVersion=52] [phyTblIDs="[107]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.332 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=52] [2024/05/23 09:23:03.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=52] ["take time"=2.767958ms] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.341 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=7] [job="ID:108, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:03.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.344 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/23 09:23:03.344 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.345 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t add column b time(7)"] [user=] [2024/05/23 09:23:03.345 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.345 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[types:1426]Too big precision 7 specified for column 'b'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'b'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.checkAndCreateNewColumn\n\tpkg/ddl/ddl_api.go:4264\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4372\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3880\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:362\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.345 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t add column b datetime(7)"] [user=] [2024/05/23 09:23:03.345 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.345 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[types:1426]Too big precision 7 specified for column 'b'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'b'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.checkAndCreateNewColumn\n\tpkg/ddl/ddl_api.go:4264\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4372\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3880\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:363\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.346 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t add column b timestamp(7)"] [user=] [2024/05/23 09:23:03.346 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.346 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[types:1426]Too big precision 7 specified for column 'b'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'b'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.checkAndCreateNewColumn\n\tpkg/ddl/ddl_api.go:4264\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4372\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3880\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:364\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.346 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t modify column a time(7)"] [user=] [2024/05/23 09:23:03.346 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.346 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.GetModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5808\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).getModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5709\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6308\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3963\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:365\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.347 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t modify column a datetime(7)"] [user=] [2024/05/23 09:23:03.347 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.347 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.GetModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5808\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).getModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5709\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6308\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3963\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:366\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.347 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t modify column a timestamp(7)"] [user=] [2024/05/23 09:23:03.347 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.348 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'a'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.GetModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5808\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).getModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5709\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6308\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3963\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:367\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.348 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t change column a aa time(7)"] [user=] [2024/05/23 09:23:03.348 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.348 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[types:1426]Too big precision 7 specified for column 'aa'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'aa'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.GetModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5808\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).getModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5709\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ChangeColumn\n\tpkg/ddl/ddl_api.go:6215\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3965\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:368\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.348 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t change column a aa datetime(7)"] [user=] [2024/05/23 09:23:03.348 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.349 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[types:1426]Too big precision 7 specified for column 'aa'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'aa'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.GetModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5808\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).getModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5709\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ChangeColumn\n\tpkg/ddl/ddl_api.go:6215\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3965\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:369\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.349 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t change column a aa timestamp(7)"] [user=] [2024/05/23 09:23:03.349 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:03.349 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[types:1426]Too big precision 7 specified for column 'aa'. Maximum is 6."] [errorVerbose="[types:1426]Too big precision 7 specified for column 'aa'. Maximum is 6.\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.checkColumnAttributes\n\tpkg/ddl/ddl_api.go:1901\ngithub.com/pingcap/tidb/pkg/ddl.GetModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5808\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).getModifiableColumnJob\n\tpkg/ddl/ddl_api.go:5709\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ChangeColumn\n\tpkg/ddl/ddl_api.go:6215\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3965\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTableDDLWithTimeType\n\tpkg/ddl/db_integration_test.go:370\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:03.349 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="alter table t change column a aa datetime(0)"] [user=] [2024/05/23 09:23:03.352 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:5, start time: 2024-05-23 09:23:03.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:23:03.352 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:5, start time: 2024-05-23 09:23:03.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t change column a aa datetime(0)"] [2024/05/23 09:23:03.360 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=7] [category=ddl] [job="ID:109, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:03.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:03.363 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=249.141µs] [gotSchemaVersion=53] [phyTblIDs="[107]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:03.365 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=53] [2024/05/23 09:23:03.366 +00:00] [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.048804ms] [job="ID:109, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:03.372 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=109] [jobType="modify column"] [2024/05/23 09:23:03.372 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=7] [job="ID:109, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:03.378 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:23:03.378 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.378 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=53] [cur_db=test] [sql="drop table t"] [user=] [2024/05/23 09:23:03.380 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.381 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t"] [2024/05/23 09:23:03.386 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=7] [category=ddl] [job="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:03.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.388 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=93.617µs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:03.390 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=54] [2024/05/23 09:23:03.391 +00:00] [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.92207ms] [job="ID:110, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.396 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=7] [category=ddl] [job="ID:110, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:03.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.398 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=51.738µs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:03.400 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55] [2024/05/23 09:23:03.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=55] ["take time"=2.980816ms] [job="ID:110, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:03.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.407 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=7] [category=ddl] [job="ID:110, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:03.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.409 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=29.947µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:03.410 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/23 09:23:03.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=56] ["take time"=2.086646ms] [job="ID:110, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:03.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.416 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=110] [tableIDs="[107]"] [comment="drop table: table ID"] [2024/05/23 09:23:03.418 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="drop table"] [2024/05/23 09:23:03.418 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=7] [job="ID:110, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:03.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.420 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=1] [startKey=74800000000000006b] [endKey=74800000000000006c] [2024/05/23 09:23:03.423 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/23 09:23:03.423 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.426 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=0719a436-1fbc-4309-b8dd-31701a28d603] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:03.426 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:03.426 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 28, tp add index"] [category=ddl] ["take time"=2.213µs] [2024/05/23 09:23:03.426 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 29, tp add index"] [category=ddl] ["take time"=1.559µs] [2024/05/23 09:23:03.426 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 30, tp add index"] [category=ddl] ["take time"=1.041µs] [2024/05/23 09:23:03.426 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 27, tp add index"] [category=ddl] ["take time"=1.227µs] [2024/05/23 09:23:03.426 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:03.426 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 26, tp general"] [category=ddl] ["take time"=923ns] [2024/05/23 09:23:03.426 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:03.426 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:03.426 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:03.427 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=0719a436-1fbc-4309-b8dd-31701a28d603] ["take time"=3.187068ms] [2024/05/23 09:23:03.427 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=0719a436-1fbc-4309-b8dd-31701a28d603] [2024/05/23 09:23:03.427 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:23:03.427 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:03.427 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:03.427 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:03.427 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:03.427 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:03.427 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:03.427 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:03.427 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:03.427 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:03.427 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:03.428 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:03.428 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:03.428 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:23:03.428 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=0719a436-1fbc-4309-b8dd-31701a28d603] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:23:03.428 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=0719a436-1fbc-4309-b8dd-31701a28d603] [ownerKey=/tidb/stats/owner] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:03.428 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:03.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:03.428 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:03.428 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.930472ms] [2024/05/23 09:23:03.430 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:23:03.430 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:23:03.430 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:23:03.430 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:23:03.430 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:23:03.430 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTableDDLWithTimeType (1.94s) === RUN TestDDLLastInfo [2024/05/23 09:23:03.434 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:23:03.434 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:03.434 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:03.434 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:03.434 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:03.435 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:03.437 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=c59a2575-5fb2-41e6-8409-810ee5cff693] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:23:03.443 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:23:03.443 +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/23 09:23:03.443 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestDDLLastInfo\n\tpkg/ddl/db_integration_test.go:2943\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:23:03.460 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=16.398719ms] [2024/05/23 09:23:03.462 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:03.462 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=e47f11ee-1315-4b47-87c6-d696a7b8d5e2] [runWorker=true] [2024/05/23 09:23:03.462 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:03.463 +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/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:03.463 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:03.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:03.463 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:03.463 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:03.463 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:03.463 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:03.464 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:23:03.464 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:23:03.468 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.468 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:23:03.474 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.494 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=17.944977ms] [2024/05/23 09:23:03.496 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:03.498 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.498 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:23:03.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=1] ["take time"=24.235428ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:03.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.505 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.508 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:23:03.508 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.508 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:23:03.510 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.515 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.516 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.511 +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/23 09:23:03.521 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.531 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.29572ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.533 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.533 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:23:03.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=2] ["take time"=4.547599ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.540 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.547 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:23:03.547 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.547 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.550 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.550 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.549 +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/23 09:23:03.556 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.560 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=298.418µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.561 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.561 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:23:03.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=3] ["take time"=2.020761ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.567 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.571 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:23:03.571 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.571 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.574 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.574 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.572 +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/23 09:23:03.580 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.586 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=316.426µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.588 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.588 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:23:03.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=4] ["take time"=4.261434ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.596 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.602 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:23:03.602 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.603 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.607 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.607 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.605 +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/23 09:23:03.615 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.620 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=555.013µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.621 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.621 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:23:03.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=5] ["take time"=2.030148ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.632 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.638 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:23:03.638 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.639 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.642 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.642 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.641 +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/23 09:23:03.650 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.654 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=300.77µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.655 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.655 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:23:03.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=6] ["take time"=3.040072ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.665 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.670 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:23:03.670 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.670 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.680 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.680 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.672 +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/23 09:23:03.688 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.693 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=437.117µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.694 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.694 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:23:03.696 +00:00] [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.320038ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.702 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.707 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:23:03.707 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.707 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.710 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.711 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.709 +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/23 09:23:03.722 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.746 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=337.145µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.748 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.748 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:23:03.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=8] ["take time"=11.286152ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.763 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.767 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:23:03.767 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.768 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.776 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.776 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.77 +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/23 09:23:03.783 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.787 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=277.463µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.788 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.788 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:23:03.791 +00:00] [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.085545ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.796 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.800 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:23:03.800 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.800 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.813 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.813 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.812 +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/23 09:23:03.821 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.824 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=355.504µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.826 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.826 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:23:03.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=10] ["take time"=4.018502ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.835 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.845 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:23:03.845 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.846 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.851 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.851 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.849 +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/23 09:23:03.863 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.867 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=456.858µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.869 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.869 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:23:03.871 +00:00] [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.545093ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.877 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.881 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:23:03.881 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.882 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.882 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:03.886 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.886 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.884 +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/23 09:23:03.894 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.900 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=596.74µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.901 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.901 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:23:03.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=12] ["take time"=4.619402ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.910 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.915 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:23:03.915 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.916 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.919 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.919 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.918 +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/23 09:23:03.928 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.932 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=437.234µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.934 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.934 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:23:03.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=13] ["take time"=4.448427ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.945 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.950 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:23:03.950 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.951 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.966 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.966 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.96 +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/23 09:23:03.973 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.981 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=376.269µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:03.983 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:03.983 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:23:03.985 +00:00] [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.401437ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.990 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:03.993 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:23:03.993 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:03.994 +00:00] [INFO] [session.go:3959] ["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/23 09:23:03.997 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:03.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:03.997 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:03.996 +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/23 09:23:04.003 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:03.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.007 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=431.558µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.009 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.009 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:23:04.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=15] ["take time"=4.096451ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:03.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.018 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:03.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.022 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:23:04.022 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.022 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.025 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.025 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.024 +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/23 09:23:04.037 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.040 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=368.109µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.042 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.043 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:23:04.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=16] ["take time"=5.01804ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.054 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.057 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:23:04.057 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.058 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.061 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.061 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.059 +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/23 09:23:04.066 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.070 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=384.388µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.071 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.071 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:23:04.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=17] ["take time"=2.287969ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.078 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.082 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:23:04.082 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.083 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.086 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.086 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.084 +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/23 09:23:04.095 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.100 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=315.585µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.102 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.102 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:23:04.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=18] ["take time"=4.839097ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.111 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.114 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:23:04.114 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.114 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.118 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.119 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.116 +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/23 09:23:04.125 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.129 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=483.519µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.131 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.131 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:23:04.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=19] ["take time"=2.744842ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.137 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.141 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:23:04.141 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.143 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.146 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.146 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.145 +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/23 09:23:04.154 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.158 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=378.434µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.160 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.160 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:23:04.162 +00:00] [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.717639ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.175 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.179 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:23:04.179 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.179 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.183 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.183 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.181 +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/23 09:23:04.188 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.191 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=260.066µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.193 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.193 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:23:04.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=21] ["take time"=3.018468ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.198 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.201 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:23:04.201 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.202 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.204 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.204 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.203 +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/23 09:23:04.210 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.213 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=209.724µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.214 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.214 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:23:04.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=22] ["take time"=2.056461ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.223 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.225 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:23:04.225 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.226 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.230 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.230 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.227 +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/23 09:23:04.236 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.240 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=314.303µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.241 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.241 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:23:04.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=23] ["take time"=2.994628ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.249 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.253 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:23:04.253 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.253 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.256 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.256 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.255 +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/23 09:23:04.265 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.268 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=290.636µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.271 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.271 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:23:04.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=24] ["take time"=4.01915ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.279 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.283 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:23:04.283 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.284 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.287 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.286 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.287 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.286 +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/23 09:23:04.295 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.286 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.298 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=334.191µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.300 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.300 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:23:04.302 +00:00] [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.119108ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.286 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.308 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.286 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.312 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:23:04.312 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.313 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.316 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.316 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.315 +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/23 09:23:04.330 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.333 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=354.757µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.335 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.336 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:23:04.337 +00:00] [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.147482ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.343 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.347 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:23:04.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.348 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.351 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.352 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.35 +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/23 09:23:04.360 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.364 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=321.591µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.366 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.366 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:23:04.366 +00:00] [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.023947ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.370 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.373 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:23:04.373 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.374 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.377 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.377 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.376 +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/23 09:23:04.383 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.386 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=284.446µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.388 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.388 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:23:04.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=28] ["take time"=2.01091ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.395 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.399 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:23:04.399 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.400 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.400 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:04.403 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.403 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.401 +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/23 09:23:04.415 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.419 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=292.677µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.420 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.420 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:23:04.421 +00:00] [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.016319ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.428 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.433 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:23:04.433 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.433 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.437 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.437 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.435 +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/23 09:23:04.446 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.450 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=414.77µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.451 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.452 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:23:04.455 +00:00] [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"=5.468811ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.461 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.464 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:23:04.466 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:23:04.466 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.466 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.470 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.470 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.468 +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/23 09:23:04.478 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.482 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=399.226µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.483 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.483 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:23:04.485 +00:00] [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.849242ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.491 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.495 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:23:04.495 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.496 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.500 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.500 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.498 +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/23 09:23:04.506 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.511 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=560.253µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.513 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.513 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:23:04.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=32] ["take time"=5.371331ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.525 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.530 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:23:04.530 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.530 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.533 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.533 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.532 +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/23 09:23:04.542 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.545 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=195.781µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.546 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.546 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:23:04.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=33] ["take time"=2.233106ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.552 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.564 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:23:04.564 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.597 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.597 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:23:04.603 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.607 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=390.332µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:04.609 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.609 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:23:04.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=34] ["take time"=2.076101ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:04.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.614 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.619 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:23:04.619 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.619 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.623 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.623 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.621 +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/23 09:23:04.629 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.632 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=237.283µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.633 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.633 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:23:04.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=35] ["take time"=2.917559ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.642 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.647 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:23:04.647 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.647 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.651 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.651 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.649 +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/23 09:23:04.659 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.662 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=360.079µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.664 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.664 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:23:04.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=36] ["take time"=4.656817ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.675 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.679 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:23:04.679 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.680 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.683 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.683 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.681 +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/23 09:23:04.694 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.698 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=302.102µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.700 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.700 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:23:04.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=37] ["take time"=5.445978ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.710 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.716 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:23:04.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.716 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.733 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.733 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.725 +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/23 09:23:04.740 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.746 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=540.659µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.748 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.748 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:23:04.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=38] ["take time"=8.735447ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.770 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.776 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:23:04.776 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.776 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.781 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.781 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.778 +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/23 09:23:04.787 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.792 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=505.213µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.794 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.794 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:23:04.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=39] ["take time"=4.321885ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.802 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.809 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:23:04.809 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.810 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.814 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.814 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.812 +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/23 09:23:04.826 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.832 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=636.81µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.833 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.833 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:23:04.835 +00:00] [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.379373ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.841 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.846 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:23:04.846 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.846 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.851 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.848 +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/23 09:23:04.851 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.858 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.863 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=557.105µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.865 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.865 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:23:04.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=41] ["take time"=4.021319ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.874 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.880 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:23:04.880 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.880 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.892 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.892 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.89 +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/23 09:23:04.900 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.906 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=559.861µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.907 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.907 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:23:04.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=42] ["take time"=11.854361ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.927 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.932 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:23:04.932 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.932 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.935 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.935 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.934 +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/23 09:23:04.942 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.946 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=589.572µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.948 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.948 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:23:04.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=43] ["take time"=5.12394ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.957 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.962 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:23:04.962 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.963 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.967 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.967 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.964 +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/23 09:23:04.972 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.976 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=422.065µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:04.977 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:04.977 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:23:04.977 +00:00] [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.064583ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.982 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:04.986 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:23:04.987 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:04.987 +00:00] [INFO] [session.go:3959] ["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/23 09:23:04.992 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:04.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:04.992 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:04.989 +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/23 09:23:05.006 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:04.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.011 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=397.528µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.012 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.012 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:23:05.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=45] ["take time"=6.178993ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:04.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.030 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:04.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.034 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:23:05.034 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.035 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.039 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.039 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.037 +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/23 09:23:05.046 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.053 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=735.593µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.055 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.055 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:23:05.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=46] ["take time"=4.356259ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.082 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.094 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:23:05.094 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.095 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.162 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.162 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.138 +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/23 09:23:05.171 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.178 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=442.234µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.179 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.179 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:23:05.181 +00:00] [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.118183ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.192 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.197 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:23:05.197 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.198 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.201 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.201 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.199 +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/23 09:23:05.212 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.216 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=351.224µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.217 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.217 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:23:05.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=48] ["take time"=2.392264ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.230 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.235 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:23:05.235 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.235 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.240 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.240 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.238 +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/23 09:23:05.248 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.253 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=381.675µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.255 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.255 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:23:05.260 +00:00] [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"=7.723976ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.268 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.271 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:23:05.271 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.271 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:23:05.274 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.274 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:23:05.287 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.290 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=108.846µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:23:05.292 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.292 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:23:05.295 +00:00] [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.893725ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.304 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.309 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:23:05.309 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.324 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.324 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.322 +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/23 09:23:05.335 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.338 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=268.728µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:05.339 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.339 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:23:05.345 +00:00] [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"=7.388198ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:05.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.352 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.355 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:23:05.356 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.390 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.926781314s] [2024/05/23 09:23:05.390 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e47f11ee-1315-4b47-87c6-d696a7b8d5e2] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:05.390 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:05.390 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 35, tp add index"] [category=ddl] ["take time"=1.542µs] [2024/05/23 09:23:05.390 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 32, tp add index"] [category=ddl] ["take time"=915ns] [2024/05/23 09:23:05.390 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 33, tp add index"] [category=ddl] ["take time"=797ns] [2024/05/23 09:23:05.390 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 34, tp add index"] [category=ddl] ["take time"=900ns] [2024/05/23 09:23:05.390 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:05.390 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 31, tp general"] [category=ddl] ["take time"=1.243µs] [2024/05/23 09:23:05.390 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:05.390 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:05.390 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:05.393 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=e47f11ee-1315-4b47-87c6-d696a7b8d5e2] ["take time"=3.530235ms] [2024/05/23 09:23:05.393 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=e47f11ee-1315-4b47-87c6-d696a7b8d5e2] [2024/05/23 09:23:05.393 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:05.393 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:05.393 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:05.393 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:05.393 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:05.393 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:05.393 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:05.393 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:05.393 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:05.393 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:05.393 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:05.394 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:05.393 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:05.394 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:05.394 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.92818ms] [2024/05/23 09:23:05.394 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=c59a2575-5fb2-41e6-8409-810ee5cff693] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:23:05.401 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:23:05.402 +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/23 09:23:05.431 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=29.303362ms] [2024/05/23 09:23:05.444 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:05.444 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=dfd439aa-434f-489d-a465-5771ee249a77] [runWorker=true] [2024/05/23 09:23:05.445 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:05.445 +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/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:05.446 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:05.446 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:05.446 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:05.446 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:05.446 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:05.446 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:05.447 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:23:05.455 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:05.456 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:23:05.469 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:05.473 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:05.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:05.475 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:23:05.476 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:05.476 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:05.476 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:23:05.477 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:05.478 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:05.478 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:23:05.478 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:05.480 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:05.483 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:23:05.483 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:23:05.487 +00:00] [INFO] [set.go:170] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:23:05.489 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=test] [sql="create table t(a int)"] [user=] [2024/05/23 09:23:05.494 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.494 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int)"] [2024/05/23 09:23:05.501 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, 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-23 09:23:05.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.504 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=187.004µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.505 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:23:05.506 +00:00] [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.367699ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.514 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, 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-23 09:23:05.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.517 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:23:05.517 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.519 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=52] [cur_db=test] [sql="create table t2(a int)"] [user=] [2024/05/23 09:23:05.522 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.522 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t2(a int)"] [2024/05/23 09:23:05.530 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, 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-23 09:23:05.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.534 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=255.769µs] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.535 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/23 09:23:05.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=53] ["take time"=4.873825ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.545 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=107] [conn=8] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:05.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.548 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:23:05.548 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.549 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=53] [cur_db=test] [sql="drop table t, t2"] [user=] [2024/05/23 09:23:05.551 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.551 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t, t2"] [2024/05/23 09:23:05.559 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=8] [category=ddl] [job="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:05.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.561 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=81.55µs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:05.562 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=54] [2024/05/23 09:23:05.563 +00:00] [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.044959ms] [job="ID:108, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.571 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=8] [category=ddl] [job="ID:108, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:05.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.574 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=62.982µs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:05.575 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=55] [2024/05/23 09:23:05.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=55] ["take time"=3.286601ms] [job="ID:108, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:05.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.589 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=8] [category=ddl] [job="ID:108, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:05.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.591 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=56.949µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:05.592 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=56] [2024/05/23 09:23:05.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=56] ["take time"=2.06463ms] [job="ID:108, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:05.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.598 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=108] [tableIDs="[104]"] [comment="drop table: table ID"] [2024/05/23 09:23:05.599 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="drop table"] [2024/05/23 09:23:05.600 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=8] [job="ID:108, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:05.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.603 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=108] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/23 09:23:05.605 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/23 09:23:05.605 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.608 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.608 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t, t2"] [2024/05/23 09:23:05.615 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=8] [category=ddl] [job="ID:109, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:05.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.618 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=104.77µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:05.619 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=57] [2024/05/23 09:23:05.620 +00:00] [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.934934ms] [job="ID:109, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.628 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=8] [category=ddl] [job="ID:109, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:05.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.630 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=56.29µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:05.632 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=58] [2024/05/23 09:23:05.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=58] ["take time"=2.789131ms] [job="ID:109, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:05.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.639 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=8] [category=ddl] [job="ID:109, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:05.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.642 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=86.327µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:23:05.644 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=59] [2024/05/23 09:23:05.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=59] ["take time"=2.474448ms] [job="ID:109, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:05.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.650 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=109] [tableIDs="[106]"] [comment="drop table: table ID"] [2024/05/23 09:23:05.651 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=109] [jobType="drop table"] [2024/05/23 09:23:05.652 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=8] [job="ID:109, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:05.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.655 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=109] [elementID=1] [startKey=74800000000000006a] [endKey=74800000000000006b] [2024/05/23 09:23:05.657 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:23:05.657 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.660 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=dfd439aa-434f-489d-a465-5771ee249a77] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:05.660 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:05.660 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 37, tp add index"] [category=ddl] ["take time"=2.354µs] [2024/05/23 09:23:05.660 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 38, tp add index"] [category=ddl] ["take time"=1.576µs] [2024/05/23 09:23:05.660 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 39, tp add index"] [category=ddl] ["take time"=1.218µs] [2024/05/23 09:23:05.660 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 40, tp add index"] [category=ddl] ["take time"=1.427µs] [2024/05/23 09:23:05.660 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:05.660 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 36, tp general"] [category=ddl] ["take time"=1.205µs] [2024/05/23 09:23:05.660 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:05.660 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:05.660 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:05.661 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=dfd439aa-434f-489d-a465-5771ee249a77] ["take time"=3.043077ms] [2024/05/23 09:23:05.661 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=dfd439aa-434f-489d-a465-5771ee249a77] [2024/05/23 09:23:05.661 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:23:05.661 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:05.661 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:05.661 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:05.661 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:05.661 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:05.661 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:05.661 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:05.661 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:05.661 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:05.661 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=dfd439aa-434f-489d-a465-5771ee249a77] [ownerKey=/tidb/stats/owner] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:05.662 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=dfd439aa-434f-489d-a465-5771ee249a77] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:05.662 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:05.662 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:05.663 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.686367ms] [2024/05/23 09:23:05.664 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:23:05.664 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:23:05.664 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:23:05.664 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:23:05.664 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:23:05.664 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestDDLLastInfo (2.23s) === RUN TestSetInvalidDefaultValueAfterModifyColumn [2024/05/23 09:23:05.680 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:23:05.681 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:05.681 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:05.681 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:05.682 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:05.682 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:05.685 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=a88d851f-5f5a-40cc-bc42-2c407a21530c] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:23:05.691 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:23:05.691 +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/23 09:23:05.691 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestSetInvalidDefaultValueAfterModifyColumn\n\tpkg/ddl/db_test.go:989\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:23:05.708 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=17.005338ms] [2024/05/23 09:23:05.710 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:05.710 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=24204fab-e9d8-4184-9218-29994cecbc84] [runWorker=true] [2024/05/23 09:23:05.710 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:05.710 +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/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:05.710 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:05.710 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:05.710 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:05.710 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:05.710 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:05.710 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:05.711 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:23:05.711 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:23:05.714 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.714 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:23:05.721 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.742 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=19.223674ms] [2024/05/23 09:23:05.745 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:05.747 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.747 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:23:05.750 +00:00] [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"=26.571749ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:05.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.756 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.760 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:23:05.761 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.761 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:23:05.762 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.768 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.769 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.765 +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/23 09:23:05.780 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.790 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.517865ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.792 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.792 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:23:05.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=2] ["take time"=5.004005ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.804 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.813 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:23:05.813 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.813 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.817 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.817 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.816 +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/23 09:23:05.824 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.828 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=370.898µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.830 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.830 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:23:05.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=3] ["take time"=4.158873ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.840 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.845 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:23:05.845 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.845 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.849 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.849 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.847 +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/23 09:23:05.857 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.861 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=272.93µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.863 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.863 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:23:05.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=4] ["take time"=4.024258ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.873 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.877 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:23:05.877 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.878 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.881 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.881 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.879 +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/23 09:23:05.891 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.898 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=763.707µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.900 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.900 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:23:05.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=5] ["take time"=4.03315ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.907 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.912 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:23:05.913 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.913 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.917 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.917 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.915 +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/23 09:23:05.926 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.930 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=313.362µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.932 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.932 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:23:05.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=6] ["take time"=4.287635ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.941 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.945 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:23:05.945 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.946 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.950 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.950 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.948 +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/23 09:23:05.959 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.963 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=516.988µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.966 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.966 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:23:05.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=7] ["take time"=4.459433ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.977 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.982 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:23:05.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:05.982 +00:00] [INFO] [session.go:3959] ["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/23 09:23:05.985 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:05.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:05.985 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:05.984 +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/23 09:23:05.995 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:05.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:05.998 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=247.6µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:05.999 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:05.999 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:23:06.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=8] ["take time"=4.049283ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:05.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.007 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:05.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.010 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:23:06.010 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.010 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.014 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.014 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.012 +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/23 09:23:06.023 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.026 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=307.277µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.028 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.028 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:23:06.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=9] ["take time"=2.055875ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.033 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.036 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:23:06.036 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.037 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.040 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.040 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.038 +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/23 09:23:06.046 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.050 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=271.17µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.051 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.051 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:23:06.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=10] ["take time"=2.438292ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.058 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.061 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:23:06.061 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.062 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.065 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.065 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.063 +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/23 09:23:06.072 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.075 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=338.119µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.077 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.077 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:23:06.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=11] ["take time"=4.012301ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.087 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.091 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:23:06.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.092 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.092 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:06.096 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.096 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.094 +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/23 09:23:06.105 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.111 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=561.902µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.113 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.113 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:23:06.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=12] ["take time"=4.139934ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.121 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.126 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:23:06.126 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.127 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.131 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.131 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.129 +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/23 09:23:06.140 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.145 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=481.815µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.147 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.147 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:23:06.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=13] ["take time"=4.525871ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.155 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.160 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:23:06.161 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.161 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.164 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.165 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.163 +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/23 09:23:06.173 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.176 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=355.332µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.178 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.178 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:23:06.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=14] ["take time"=2.0342ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.183 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.187 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:23:06.187 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.187 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.191 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.191 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.189 +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/23 09:23:06.197 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.200 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=347.691µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.202 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.202 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:23:06.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=15] ["take time"=4.998667ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.211 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.215 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:23:06.215 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.215 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.218 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.217 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.218 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.217 +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/23 09:23:06.227 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.217 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.231 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=372.136µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.233 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.233 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:23: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=16] ["take time"=4.97431ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.217 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.242 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.217 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.246 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:23:06.246 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.247 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.250 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.250 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.249 +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/23 09:23:06.258 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.262 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=348.4µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.264 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.264 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:23:06.267 +00:00] [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.789429ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.273 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.276 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:23:06.276 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.277 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.281 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.281 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.279 +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/23 09:23:06.291 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.294 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=237.849µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.296 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.296 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:23:06.297 +00:00] [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.040577ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.303 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.306 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:23:06.306 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.306 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.309 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.310 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.308 +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/23 09:23:06.318 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.322 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=360.541µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.323 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.323 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:23:06.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=19] ["take time"=2.045916ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.330 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.334 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:23:06.334 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.336 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.340 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.340 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.338 +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/23 09:23:06.348 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.351 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=343.034µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.353 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.353 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:23:06.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=20] ["take time"=2.052111ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.358 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.362 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:23:06.362 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.363 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.365 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.365 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.364 +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/23 09:23:06.370 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.373 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=259.419µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.375 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.375 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:23:06.377 +00:00] [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.050165ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.382 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.385 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:23:06.385 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.385 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.388 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.388 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.387 +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/23 09:23:06.396 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.399 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=213.551µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.400 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.400 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:23:06.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=22] ["take time"=4.523405ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.410 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.413 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:23:06.413 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.414 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.418 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.418 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.416 +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/23 09:23:06.429 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.434 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=449.81µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.436 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.436 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:23:06.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=23] ["take time"=4.842027ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.445 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.450 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:23:06.450 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.450 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.454 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.454 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.452 +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/23 09:23:06.465 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.469 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=382.615µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.471 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.471 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:23:06.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=24] ["take time"=4.257542ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.480 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.484 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:23:06.484 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.484 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.490 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.490 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.487 +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/23 09:23:06.500 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.507 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=364.168µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.509 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.509 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:23:06.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=25] ["take time"=4.203461ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.524 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.532 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:23:06.532 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.533 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.537 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.537 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.535 +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/23 09:23:06.547 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.551 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=339.808µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.553 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.553 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:23:06.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=26] ["take time"=4.066765ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.562 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.567 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:23:06.567 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.567 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.571 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.571 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.569 +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/23 09:23:06.581 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.585 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=349.321µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.587 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.587 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:23:06.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=27] ["take time"=4.856438ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.595 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.600 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:23:06.600 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.603 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.607 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.607 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.605 +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/23 09:23:06.616 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.619 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=333.104µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.621 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.621 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:23:06.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=28] ["take time"=4.067488ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.632 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.636 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:23:06.636 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.637 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.637 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:06.641 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.641 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.639 +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/23 09:23:06.649 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.653 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=398.961µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.655 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.655 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:23:06.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=29] ["take time"=4.999893ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.666 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.672 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:23:06.672 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.672 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.677 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.677 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.675 +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/23 09:23:06.690 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.694 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=416.65µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.697 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.697 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:23:06.702 +00:00] [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"=8.026638ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.710 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.714 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:23:06.715 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:23:06.715 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.716 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.720 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.721 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.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/23 09:23:06.734 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.740 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=323.424µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.742 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.742 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:23:06.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=31] ["take time"=5.950704ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.753 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.758 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:23:06.758 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.759 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.764 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.764 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.761 +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/23 09:23:06.774 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.779 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=602.557µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.781 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.781 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:23:06.784 +00:00] [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.990753ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.795 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.802 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:23:06.802 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.803 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.806 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.807 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.805 +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/23 09:23:06.816 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.819 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=245.544µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.821 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.821 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:23:06.821 +00:00] [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.372006ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.831 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.834 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:23:06.835 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.841 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.841 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:23:06.850 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.855 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=427.482µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:06.857 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.857 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:23:06.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=34] ["take time"=4.427534ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:06.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.867 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.873 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:23:06.873 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.873 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.881 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.881 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.88 +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/23 09:23:06.888 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.892 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=355.683µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.893 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.893 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:23:06.895 +00:00] [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.190255ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.901 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.905 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:23:06.905 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.906 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.910 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.910 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.908 +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/23 09:23:06.918 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.921 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=338.459µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.923 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.923 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:23:06.925 +00:00] [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.014997ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.932 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.936 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:23:06.936 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.936 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.939 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.939 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.938 +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/23 09:23:06.948 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.951 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=233.754µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.953 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.953 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:23:06.955 +00:00] [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.228285ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.961 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.965 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:23:06.966 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.966 +00:00] [INFO] [session.go:3959] ["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/23 09:23:06.969 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:06.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:06.969 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:06.968 +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/23 09:23:06.976 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:06.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.981 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=619.913µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:06.983 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:06.983 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:23:06.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=38] ["take time"=4.917617ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:06.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.991 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:06.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:06.997 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:23:06.997 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:06.998 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.002 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.002 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07 +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/23 09:23:07.012 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.017 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=543.986µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.018 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.018 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:23:07.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=39] ["take time"=2.726916ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.027 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.033 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:23:07.033 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.033 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.039 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.039 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.036 +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/23 09:23:07.048 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.054 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=472.203µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.055 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.055 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:23:07.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=40] ["take time"=4.973097ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.064 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.070 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:23:07.070 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.071 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.078 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.078 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.073 +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/23 09:23:07.086 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.090 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=443.217µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.092 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.092 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:23:07.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=41] ["take time"=4.286524ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.101 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.106 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:23:07.107 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.107 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.113 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.113 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.11 +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/23 09:23:07.120 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.128 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=633.634µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.130 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.130 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:23:07.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=42] ["take time"=4.882696ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.139 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.144 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:23:07.144 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.144 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.148 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.148 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.146 +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/23 09:23:07.156 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.163 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=685.787µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.165 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.165 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:23:07.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=43] ["take time"=5.30382ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.175 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.180 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:23:07.181 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.181 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.185 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.185 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.183 +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/23 09:23:07.193 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.197 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=469.351µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.199 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.199 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:23:07.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=44] ["take time"=4.704933ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.207 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.211 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:23:07.212 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.212 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.222 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.222 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.214 +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/23 09:23:07.230 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.238 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=314.295µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.240 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.240 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:23:07.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=45] ["take time"=4.343102ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.249 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.254 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:23:07.254 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.255 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.259 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.259 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.256 +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/23 09:23:07.268 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.275 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=670.657µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.276 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.276 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:23:07.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=46] ["take time"=4.682993ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.285 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.290 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:23:07.290 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.290 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.295 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.296 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.293 +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/23 09:23:07.305 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.310 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=324.595µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.311 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.311 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:23:07.313 +00:00] [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.090123ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.321 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.325 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:23:07.325 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.326 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.330 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.330 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.329 +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/23 09:23:07.338 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.341 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=322.133µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.343 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.343 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:23:07.344 +00:00] [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.628569ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.352 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.356 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:23:07.356 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.357 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.366 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.366 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.36 +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/23 09:23:07.371 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.377 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=313.408µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.379 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.379 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:23:07.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=49] ["take time"=4.907234ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.389 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.393 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:23:07.393 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.393 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:23:07.396 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.396 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:23:07.405 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.408 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=81.795µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:23:07.409 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.409 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:23:07.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=50] ["take time"=2.367502ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:07.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.416 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.420 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:23:07.420 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.424 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.422 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.424 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.422 +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/23 09:23:07.429 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.422 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.433 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=301.298µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:07.435 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.435 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:23:07.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=51] ["take time"=4.041163ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:07.422 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.443 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.422 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.446 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:23:07.446 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.482 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.771416815s] [2024/05/23 09:23:07.483 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=24204fab-e9d8-4184-9218-29994cecbc84] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:07.483 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:07.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 42, tp add index"] [category=ddl] ["take time"=7.075µs] [2024/05/23 09:23:07.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 43, tp add index"] [category=ddl] ["take time"=6.019µs] [2024/05/23 09:23:07.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 44, tp add index"] [category=ddl] ["take time"=10.545µs] [2024/05/23 09:23:07.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 45, tp add index"] [category=ddl] ["take time"=10.13µs] [2024/05/23 09:23:07.483 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:07.483 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 41, tp general"] [category=ddl] ["take time"=1.306µs] [2024/05/23 09:23:07.483 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:07.483 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:07.483 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:07.487 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=24204fab-e9d8-4184-9218-29994cecbc84] ["take time"=4.897457ms] [2024/05/23 09:23:07.487 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=24204fab-e9d8-4184-9218-29994cecbc84] [2024/05/23 09:23:07.487 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:07.487 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:07.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:07.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:07.487 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:07.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:07.487 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:07.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:07.487 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:07.487 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:07.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:07.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:07.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:07.487 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:07.487 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=5.159416ms] [2024/05/23 09:23:07.487 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=a88d851f-5f5a-40cc-bc42-2c407a21530c] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:23:07.495 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:23:07.495 +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/23 09:23:07.520 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=24.561972ms] [2024/05/23 09:23:07.531 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:07.531 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=d24c4c14-994b-4f77-9898-82325e998afc] [runWorker=true] [2024/05/23 09:23:07.531 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:07.531 +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/23 09:23:07.531 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:07.531 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:07.531 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:07.531 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:07.531 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:07.531 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:07.531 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:07.531 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:07.532 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:07.532 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:07.532 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:07.532 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:07.532 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:07.532 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:07.532 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:07.533 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:23:07.541 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:07.541 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:23:07.557 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:07.560 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:07.562 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:07.562 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:23:07.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:07.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:07.563 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:23:07.564 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:07.564 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:23:07.565 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:07.565 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:07.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:07.566 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:23:07.566 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:23:07.568 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=51] [cur_db=test] [sql="create table t(a int, b int)"] [user=] [2024/05/23 09:23:07.571 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.571 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int, b int)"] [2024/05/23 09:23:07.577 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=10] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.580 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:23:07.594 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=14.276813ms] [2024/05/23 09:23:07.595 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:07.597 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:23:07.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=52] ["take time"=18.407348ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.604 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=10] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.614 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:23:07.614 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.614 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.614 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=52] [cur_db=test] [sql="alter table t modify column a text(100)"] [user=] [2024/05/23 09:23:07.617 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:23:07.617 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column a text(100)"] [2024/05/23 09:23:07.622 +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-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.622 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 50, tp add index"] [category=ddl] [jobID=106] [conn=10] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.623 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.625 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=257.036µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:07.627 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/23 09:23:07.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=53] ["take time"=4.888998ms] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.632 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.641 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.641 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 48, tp add index"] [category=ddl] [jobID=106] [conn=10] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.642 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.645 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=53] [cur_db=test] [sql="alter table t alter column a set default 1"] [user=] [2024/05/23 09:23:07.647 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=276.053µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:07.648 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/23 09:23:07.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=54] ["take time"=2.10927ms] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.649 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:set default value, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:07.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.649 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:set default value, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:07.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t alter column a set default 1"] [2024/05/23 09:23:07.651 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.657 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.657 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 50, tp add index"] [category=ddl] [jobID=106] [conn=10] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.659 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.661 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=233.216µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:07.662 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/23 09:23:07.663 +00:00] [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.934828ms] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.665 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.671 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.671 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 48, tp add index"] [category=ddl] [jobID=106] [conn=10] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.672 +00:00] [INFO] [reorg.go:663] ["get noop table range"] [category=ddl] [table="&{104 t utf8mb4 utf8mb4_bin [0xc022129e40 0xc0226f0000 0xc0226f0160] [] [] [] public false false 0 0 0 0 0 3 0 0 0 449958690857156608 0 0 0 0 0 0 5 false disable 3 2}"] ["table/partition ID"=104] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/23 09:23:07.672 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=] [endKey=] [2024/05/23 09:23:07.675 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.676 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:07.677 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.684 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.684 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 49, tp add index"] [category=ddl] [jobID=106] [conn=10] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.687 +00:00] [INFO] [column.go:1077] ["start to update table row"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:3,StartKey:,EndKey:,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:23:07.688 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=] ["end key"=] [2024/05/23 09:23:07.688 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=104] [2024/05/23 09:23:07.688 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106] [2024/05/23 09:23:07.688 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106] [2024/05/23 09:23:07.688 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106] [2024/05/23 09:23:07.688 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106] [2024/05/23 09:23:07.688 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_col_] ["total added count"=0] ["start key"=] [2024/05/23 09:23:07.688 +00:00] [INFO] [reorg.go:663] ["get noop table range"] [category=ddl] [table="&{104 t utf8mb4 utf8mb4_bin [0xc022874f20 0xc022875080 0xc0228751e0] [] [] [] public false false 0 0 0 0 0 3 0 0 0 449958690857156608 0 0 0 0 0 0 5 false disable 3 2}"] ["table/partition ID"=104] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/23 09:23:07.688 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/23 09:23:07.689 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.691 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=177.126µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:07.692 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/23 09:23:07.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=56] ["take time"=2.202507ms] [job="ID:106, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.694 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.704 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="modify column"] [2024/05/23 09:23:07.705 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 47, tp add index"] [category=ddl] [jobID=106] [conn=10] [job="ID:106, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.709 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958690860826625, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:07.713 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/23 09:23:07.713 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.716 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:set default value, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.716 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=11] [category=ddl] [job="ID:107, Type:set default value, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:07.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.716 +00:00] [INFO] [ddl_worker.go:1168] ["DDL job is cancelled normally"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=11] [error="[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value"] [errorVerbose="[ddl:1101]BLOB/TEXT/JSON column 'a' can'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/ddl.checkColumnDefaultValue\n\tpkg/ddl/ddl_api.go:1046\ngithub.com/pingcap/tidb/pkg/ddl.updateColumnDefaultValue\n\tpkg/ddl/column.go:1807\ngithub.com/pingcap/tidb/pkg/ddl.onSetDefaultValue\n\tpkg/ddl/column.go:368\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1278\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:965\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:462\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/23 09:23:07.716 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:set default value, State:cancelled, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:07.647 +0000 UTC, Err:[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.717 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=11] [job="ID:107, Type:set default value, State:cancelled, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:07.647 +0000 UTC, Err:[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.719 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=107] [2024/05/23 09:23:07.720 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:07.720 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:set default value, State:cancelled, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:07.647 +0000 UTC, Err:[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.720 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=53] [error="[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value"] [errorVerbose="[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value\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:1322\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterColumn\n\tpkg/ddl/ddl_api.go:6381\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3969\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSetInvalidDefaultValueAfterModifyColumn.func1.1\n\tpkg/ddl/db_test.go:1011\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 11,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:07.725 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d24c4c14-994b-4f77-9898-82325e998afc] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:07.725 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:07.725 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 49, tp add index"] [category=ddl] ["take time"=1.864µs] [2024/05/23 09:23:07.725 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 47, tp add index"] [category=ddl] ["take time"=1.112µs] [2024/05/23 09:23:07.725 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 48, tp add index"] [category=ddl] ["take time"=1.351µs] [2024/05/23 09:23:07.725 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 50, tp add index"] [category=ddl] ["take time"=1.091µs] [2024/05/23 09:23:07.725 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:07.725 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 46, tp general"] [category=ddl] ["take time"=1.099µs] [2024/05/23 09:23:07.725 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:07.725 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:07.725 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:07.726 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=d24c4c14-994b-4f77-9898-82325e998afc] ["take time"=5.852797ms] [2024/05/23 09:23:07.726 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=d24c4c14-994b-4f77-9898-82325e998afc] [2024/05/23 09:23:07.726 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:23:07.726 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:07.726 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:07.726 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:07.726 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:07.726 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:07.726 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:07.726 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:07.726 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:07.726 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:07.726 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d24c4c14-994b-4f77-9898-82325e998afc] [ownerKey=/tidb/stats/owner] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:23:07.727 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d24c4c14-994b-4f77-9898-82325e998afc] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:07.727 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:07.727 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=7.608027ms] [2024/05/23 09:23:07.740 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:23:07.740 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:23:07.740 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:23:07.740 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:23:07.741 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:23:07.741 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestSetInvalidDefaultValueAfterModifyColumn (2.08s) === RUN TestAddIndex3 [2024/05/23 09:23:07.745 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:23:07.746 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:07.746 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:07.746 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:07.746 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:07.747 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:07.758 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=26e3c447-e905-4e91-b14c-1a9b518ae417] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/23 09:23:07.766 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/23 09:23:07.767 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.testAddIndex\n\tpkg/ddl/index_modify_test.go:176\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndex3\n\tpkg/ddl/index_modify_test.go:117\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:23:07.771 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=4.379183ms] [2024/05/23 09:23:07.772 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:07.772 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=15261884-b000-4cf8-9618-5bc2b5a73297] [runWorker=true] [2024/05/23 09:23:07.772 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:07.772 +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/23 09:23:07.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:07.772 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:07.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:07.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:07.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:07.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:07.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:07.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:07.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:07.772 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:07.772 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:07.772 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:07.772 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:07.772 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:07.773 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:23:07.776 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.776 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:23:07.784 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.789 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.801001ms] [2024/05/23 09:23:07.789 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:07.791 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.791 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:23:07.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=1] ["take time"=6.885379ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:07.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.801 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.804 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:23:07.804 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.804 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:23:07.805 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.811 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.811 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.807 +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/23 09:23:07.819 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.828 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.109234ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.829 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.829 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:23:07.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=2] ["take time"=4.728063ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.838 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.843 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:23:07.843 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.843 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:07.844 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.847 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.847 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.845 +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/23 09:23:07.856 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.861 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=359.272µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.863 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.863 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:23:07.865 +00:00] [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.64134ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.872 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.877 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:23:07.877 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.878 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:07.878 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.881 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.881 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.88 +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/23 09:23:07.890 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.893 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=277.462µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.894 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.894 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:23:07.895 +00:00] [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.782654ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.901 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.903 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:23:07.903 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.904 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.908 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.908 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.905 +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/23 09:23:07.914 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.919 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=491.803µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.920 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.920 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:23:07.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=5] ["take time"=4.446669ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.934 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.939 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:23:07.939 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.940 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.944 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.944 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.942 +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/23 09:23:07.951 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.955 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=356.457µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.956 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.956 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:23:07.958 +00:00] [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.372355ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.966 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.970 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:23:07.970 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:07.971 +00:00] [INFO] [session.go:3959] ["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/23 09:23:07.974 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:07.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:07.974 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:07.973 +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/23 09:23:07.981 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:07.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.984 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=245.68µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:07.985 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:07.985 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:23:07.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=7] ["take time"=2.469309ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:07.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.994 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:07.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:07.999 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:23:07.999 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.000 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.003 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.003 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.001 +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/23 09:23:08.011 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.014 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=245.17µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.016 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.016 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:23:08.018 +00:00] [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.101682ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.024 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.028 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:23:08.028 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.028 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.032 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.032 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.03 +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/23 09:23:08.042 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.045 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=261.522µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.047 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.047 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:23:08.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=9] ["take time"=4.141281ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.057 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.062 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:23:08.062 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.062 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.068 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.068 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.065 +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/23 09:23:08.074 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.077 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=288.38µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.079 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.079 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:23:08.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=10] ["take time"=2.040843ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.084 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.088 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:23:08.088 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.088 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.088 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.088 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.089 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.092 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.092 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.09 +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/23 09:23:08.100 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=322.314µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.105 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.105 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:23:08.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=11] ["take time"=4.515603ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.113 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.116 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:23:08.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.117 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.117 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.120 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.120 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.118 +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/23 09:23:08.125 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.129 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=435.666µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.130 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.131 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:23:08.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=12] ["take time"=2.010299ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.136 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.140 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:23:08.140 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.140 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.143 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.143 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.142 +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/23 09:23:08.150 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.153 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=305.85µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.155 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.155 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:23:08.155 +00:00] [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.401837ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.161 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.167 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:23:08.167 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.168 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.170 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.170 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.169 +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/23 09:23:08.178 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.182 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=296.691µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.184 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.184 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:23:08.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=14] ["take time"=2.032386ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.188 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.192 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:23:08.192 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.193 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.196 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.195 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.197 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.195 +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/23 09:23:08.205 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.195 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.209 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=366.247µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.211 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.211 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:23:08.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"=5.079324ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.195 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.221 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.195 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.226 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:23:08.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.227 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.230 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.230 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.229 +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/23 09:23:08.242 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.246 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=266.909µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.248 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.248 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:23:08.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=16] ["take time"=2.673411ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.254 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.258 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:23:08.258 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.259 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.263 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.263 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.261 +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/23 09:23:08.276 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.281 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=450.666µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.283 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.283 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:23:08.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=17] ["take time"=4.23569ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.291 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.296 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:23:08.296 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.296 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.300 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.301 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.298 +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/23 09:23:08.310 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.314 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=312.251µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.316 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.316 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:23:08.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=18] ["take time"=4.193022ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.324 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.328 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:23:08.328 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.329 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.333 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.333 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.331 +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/23 09:23:08.344 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.350 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=505.114µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.352 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.352 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:23:08.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=19] ["take time"=4.971263ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.361 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.366 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:23:08.366 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.366 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.366 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.366 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.366 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.367 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.367 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.368 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.381 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.381 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.37 +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/23 09:23:08.387 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.393 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=455.271µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.395 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.395 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:23:08.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=20] ["take time"=5.053216ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.404 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.409 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:23:08.409 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.409 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.414 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.414 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.412 +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/23 09:23:08.423 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.426 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=215.605µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.427 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.427 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:23:08.428 +00:00] [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.324763ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.437 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.441 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:23:08.441 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.442 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.446 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.446 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.444 +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/23 09:23:08.457 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.460 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=223.477µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.462 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.462 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:23:08.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=22] ["take time"=4.491117ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.470 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.474 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:23:08.474 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.475 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.479 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.479 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.477 +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/23 09:23:08.498 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.503 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=510.98µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.505 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.505 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:23:08.507 +00:00] [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.61923ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.513 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.517 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:23:08.517 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.518 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.522 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.522 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.52 +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/23 09:23:08.531 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.535 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=412.793µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.537 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.537 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:23:08.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=24] ["take time"=4.440648ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.545 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.549 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:23:08.549 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.549 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.553 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.553 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.551 +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/23 09:23:08.564 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.568 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=309.147µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.569 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.569 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:23:08.570 +00:00] [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.6236ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.575 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.579 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:23:08.579 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.580 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.583 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.583 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.582 +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/23 09:23:08.601 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.604 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=277.671µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.606 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.606 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:23:08.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=26] ["take time"=4.538205ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.615 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.618 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:23:08.618 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.618 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.621 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.621 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.62 +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/23 09:23:08.628 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.633 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=303.842µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.635 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.635 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:23:08.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=27] ["take time"=2.948022ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.641 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.645 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:23:08.645 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.645 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.649 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.649 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.647 +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/23 09:23:08.658 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.661 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=205.095µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.663 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.663 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:23:08.663 +00:00] [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.160852ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.668 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.672 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:23:08.672 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.673 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.673 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.676 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.676 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.674 +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/23 09:23:08.682 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.685 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=316.57µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.687 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.687 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:23:08.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=29] ["take time"=2.107411ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.693 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.696 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:23:08.696 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.697 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.700 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.700 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.698 +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/23 09:23:08.707 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.710 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=340.165µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.711 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.711 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:23:08.713 +00:00] [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.039797ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.720 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.723 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:23:08.724 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.724 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.727 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.728 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.726 +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/23 09:23:08.737 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.741 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=391.203µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.743 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.743 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:23:08.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=31] ["take time"=11.38593ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.758 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.761 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:23:08.762 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.762 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.766 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.766 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.763 +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/23 09:23:08.772 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.772 +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/23 09:23:08.773 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:08.778 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=373.523µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.779 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.779 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:23:08.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=32] ["take time"=2.477005ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.789 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.795 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:23:08.795 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.795 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.795 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.795 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.798 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.798 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.797 +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/23 09:23:08.806 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.809 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=243.946µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.811 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.811 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:23:08.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=33] ["take time"=4.064938ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.818 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.820 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:23:08.820 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.824 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.824 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:23:08.831 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.835 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=239.494µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:08.836 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.836 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:23:08.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=34] ["take time"=2.463593ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:08.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.843 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.847 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:23:08.847 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.848 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.851 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.851 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.849 +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/23 09:23:08.859 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.862 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=313.773µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.864 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.864 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:23:08.869 +00:00] [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"=7.306453ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.874 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.878 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:23:08.878 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.878 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.878 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.878 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.881 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.882 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.88 +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/23 09:23:08.893 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.897 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=270.391µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.898 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.899 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:23:08.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=36] ["take time"=9.525173ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.917 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.921 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:23:08.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.922 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.925 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.925 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.923 +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/23 09:23:08.932 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.935 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=278.949µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.937 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.937 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:23:08.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=37] ["take time"=2.135235ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.945 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.949 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:23:08.949 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.949 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.953 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.954 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.951 +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/23 09:23:08.961 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.966 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=556.754µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:08.968 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:08.968 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:23:08.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=38] ["take time"=4.194475ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.976 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:08.984 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:23:08.984 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:08.984 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.984 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.984 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:08.985 +00:00] [INFO] [session.go:3959] ["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/23 09:23:08.990 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:08.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:08.990 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:08.986 +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/23 09:23:08.998 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:08.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.003 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=510.683µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.005 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.005 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:23:09.007 +00:00] [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.075106ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:08.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.013 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:08.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.018 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:23:09.018 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.018 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:09.019 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.023 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.023 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.02 +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/23 09:23:09.030 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.035 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=543.816µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.037 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.037 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:23:09.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=40] ["take time"=4.666091ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.046 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.051 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:23:09.051 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.051 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:09.052 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.055 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.055 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.053 +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/23 09:23:09.065 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.071 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=614.664µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.073 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.073 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:23:09.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=41] ["take time"=4.040373ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.085 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.090 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:23:09.090 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.091 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.095 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.095 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.093 +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/23 09:23:09.103 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.109 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=562.666µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.111 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.111 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:23:09.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=42] ["take time"=5.142797ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.120 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.125 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:23:09.125 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.125 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.130 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.130 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.127 +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/23 09:23:09.139 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.145 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=419.397µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.146 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.146 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:23:09.148 +00:00] [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.026022ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.154 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.159 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:23:09.159 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.159 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:09.159 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:09.159 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:09.159 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.163 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.163 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.161 +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/23 09:23:09.169 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.173 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=371.825µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.174 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.174 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:23:09.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=44] ["take time"=4.294545ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.182 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.187 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:23:09.187 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.187 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:09.187 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.191 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.191 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.19 +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/23 09:23:09.198 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.202 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=393.125µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.204 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.204 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:23:09.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=45] ["take time"=4.853559ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.212 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.219 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:23:09.219 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.219 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:09.219 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:09.220 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.225 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.225 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.222 +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/23 09:23:09.231 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.237 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=685.002µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.239 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.239 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:23:09.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=46] ["take time"=4.119785ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.247 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.251 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:23:09.251 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.252 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.262 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.262 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.253 +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/23 09:23:09.269 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.274 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=322.105µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.276 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.276 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:23:09.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=47] ["take time"=4.81898ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.283 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.287 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:23:09.287 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.287 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:09.287 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.290 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.290 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.288 +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/23 09:23:09.305 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.311 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=411.88µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.313 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.313 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:23:09.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=48] ["take time"=6.140421ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.324 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.328 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:23:09.328 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.329 +00:00] [INFO] [session.go:3959] ["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/23 09:23:09.332 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.332 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.33 +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/23 09:23:09.340 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.344 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=303.909µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:09.345 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.345 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:23:09.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=49] ["take time"=4.898203ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.354 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.358 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:23:09.358 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.358 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:23:09.361 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.361 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:23:09.368 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.371 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=97.942µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:23:09.372 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.372 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:23:09.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=50] ["take time"=3.327004ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:09.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.378 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.385 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:23:09.385 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.389 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:09.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.389 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:09.387 +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/23 09:23:09.396 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:09.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.399 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=221.029µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:09.401 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:09.401 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:23:09.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=51] ["take time"=2.061035ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:09.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.406 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:09.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.413 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:23:09.413 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.442 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.66942775s] [2024/05/23 09:23:09.442 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=15261884-b000-4cf8-9618-5bc2b5a73297] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:09.442 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:09.442 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 54, tp add index"] [category=ddl] ["take time"=6.624µs] [2024/05/23 09:23:09.442 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 55, tp add index"] [category=ddl] ["take time"=5.232µs] [2024/05/23 09:23:09.442 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 52, tp add index"] [category=ddl] ["take time"=4.198µs] [2024/05/23 09:23:09.442 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 53, tp add index"] [category=ddl] ["take time"=2.132µs] [2024/05/23 09:23:09.442 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:09.442 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 51, tp general"] [category=ddl] ["take time"=913ns] [2024/05/23 09:23:09.442 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:09.442 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:09.442 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:09.447 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=15261884-b000-4cf8-9618-5bc2b5a73297] ["take time"=5.336203ms] [2024/05/23 09:23:09.447 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=15261884-b000-4cf8-9618-5bc2b5a73297] [2024/05/23 09:23:09.447 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:09.447 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:09.447 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:09.447 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:09.447 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:09.447 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:09.447 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:09.447 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:09.447 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:09.447 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:09.447 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:09.448 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=5.580422ms] [2024/05/23 09:23:09.448 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=26e3c447-e905-4e91-b14c-1a9b518ae417] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/23 09:23:09.455 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/23 09:23:09.473 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=17.774617ms] [2024/05/23 09:23:09.473 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:09.473 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=564770e3-15ed-4a10-acfa-7fec2c83e721] [runWorker=true] [2024/05/23 09:23:09.474 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:09.474 +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/23 09:23:09.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:09.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:09.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:09.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:09.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:09.474 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:09.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:09.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:09.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:09.474 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:09.474 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:09.474 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:09.474 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:09.474 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:09.477 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:09.477 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:23:09.493 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:09.496 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:09.498 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:09.499 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:23:09.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:09.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:09.499 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:23:09.500 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:09.500 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:23:09.501 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:09.501 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:09.508 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:09.508 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:23:09.508 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:23:09.513 +00:00] [INFO] [set.go:170] ["set global var"] [conn=12] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:23:09.514 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=test] [sql="drop table if exists test_add_index"] [user=] [2024/05/23 09:23:09.514 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=test] [sql="create table test_add_index (c1 bigint, c2 bigint, c3 bigint, primary key(c1))\n\t\t\t partition by hash (c1) partitions 4;"] [user=] [2024/05/23 09:23:09.518 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:09.518 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_add_index (c1 bigint, c2 bigint, c3 bigint, primary key(c1))\n\t\t\t partition by hash (c1) partitions 4;"] [2024/05/23 09:23:09.524 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=109] [conn=12] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:09.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.527 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:23:09.557 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=29.887776ms] [2024/05/23 09:23:09.567 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:09.569 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=52] [2024/05/23 09:23:09.571 +00:00] [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"=44.123212ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:09.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.577 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=109] [conn=12] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:09.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:09.580 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:23:09.581 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:09.878 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=52] [cur_db=test] [sql="alter table test_add_index add key c3_index(c3)"] [user=] [2024/05/23 09:23:09.881 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:23:09.881 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table test_add_index add key c3_index(c3)"] [2024/05/23 09:23:09.888 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:09.888 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:09.879 +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\":\"c3\",\"L\":\"c3\"},\"offset\":2,\"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/23 09:23:09.889 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/23 09:23:09.894 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=4.066033ms] [gotSchemaVersion=53] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:09.896 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=53] [2024/05/23 09:23:09.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=53] ["take time"=6.319424ms] [job="ID:110, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:09.903 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:09.912 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=5.826288ms] [gotSchemaVersion=54] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:09.914 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=54] [2024/05/23 09:23:09.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=54] ["take time"=10.742344ms] [job="ID:110, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:09.924 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:09.932 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=5.640222ms] [gotSchemaVersion=55] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:09.934 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55] [2024/05/23 09:23:09.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=55] ["take time"=8.236967ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:09.943 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:09.944 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=test_add_index] ["ingest mode"=false] [index=c3_index] [2024/05/23 09:23:09.944 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=110] [physicalTableID=105] [startKey=7480000000000000695f727ffffffffffffff8] [endKey=7480000000000000695f72800000000001dc6400] [2024/05/23 09:23:09.948 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:23:09.955 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691456679936, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:09.956 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=test_add_index] ["ingest mode"=false] [index=c3_index] [2024/05/23 09:23:09.958 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691456679936, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000695f727ffffffffffffff8,EndKey:7480000000000000695f72800000000001dc6400,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/23 09:23:09.959 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f727ffffffffffffff8] ["end key"=7480000000000000695f72800000000001dc6400] [2024/05/23 09:23:09.959 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000695f727ffffffffffffff8] [endKey=7480000000000000695f72800000000001dc6400] [2024/05/23 09:23:09.959 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=105] ["end key"=7480000000000000695f72800000000001dc6400] ["current end key"=7480000000000000695f72800000000001dc6400] [2024/05/23 09:23:09.960 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=110] [2024/05/23 09:23:09.960 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=110] [2024/05/23 09:23:09.960 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=110] [2024/05/23 09:23:09.967 +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: [7480000000000000695f727ffffffffffffff8, 7480000000000000695f72800000000001dc6400), jobID: 110"] ["added count"=362] ["scan count"=362] ["next key"=7480000000000000695f72800000000001dc6400] ["take time"=7.815769ms] [2024/05/23 09:23:09.967 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=110] [2024/05/23 09:23:09.967 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=362] ["start key"=7480000000000000695f727ffffffffffffff8] [2024/05/23 09:23:09.970 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f727ffffffffffffff7] [endKey=74800000000000006a5f72800000000001d86500] [] [2024/05/23 09:23:09.970 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:362, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691456679936, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006a5f727ffffffffffffff7,EndKey:74800000000000006a5f72800000000001d86500,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/23 09:23:09.972 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f727ffffffffffffff7] ["end key"=74800000000000006a5f72800000000001d86500] [2024/05/23 09:23:09.972 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006a5f727ffffffffffffff7] [endKey=74800000000000006a5f72800000000001d86500] [2024/05/23 09:23:09.972 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f72800000000001d86500] ["current end key"=74800000000000006a5f72800000000001d86500] [2024/05/23 09:23:09.972 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=110] [2024/05/23 09:23:09.972 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=110] [2024/05/23 09:23:09.972 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=110] [2024/05/23 09:23:09.980 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 2, tp add index"] [task="taskID: 1, physicalTableID: 106, range: [74800000000000006a5f727ffffffffffffff7, 74800000000000006a5f72800000000001d86500), jobID: 110"] ["added count"=365] ["scan count"=365] ["next key"=74800000000000006a5f72800000000001d86500] ["take time"=7.518631ms] [2024/05/23 09:23:09.980 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=110] [2024/05/23 09:23:09.980 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=727] ["start key"=74800000000000006a5f727ffffffffffffff7] [2024/05/23 09:23:09.982 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=107] [startKey=74800000000000006b5f727ffffffffffffff6] [endKey=74800000000000006b5f72800000000001d86200] [] [2024/05/23 09:23:09.982 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:727, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691456679936, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006b5f727ffffffffffffff6,EndKey:74800000000000006b5f72800000000001d86200,First:false,PhysicalTableID:107,Ingest mode:false"] [2024/05/23 09:23:09.983 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=107] ["start key"=74800000000000006b5f727ffffffffffffff6] ["end key"=74800000000000006b5f72800000000001d86200] [2024/05/23 09:23:09.983 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006b5f727ffffffffffffff6] [endKey=74800000000000006b5f72800000000001d86200] [2024/05/23 09:23:09.983 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=107] ["end key"=74800000000000006b5f72800000000001d86200] ["current end key"=74800000000000006b5f72800000000001d86200] [2024/05/23 09:23:09.983 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=110] [2024/05/23 09:23:09.983 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=110] [2024/05/23 09:23:09.983 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=110] [2024/05/23 09:23:09.991 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 107, range: [74800000000000006b5f727ffffffffffffff6, 74800000000000006b5f72800000000001d86200), jobID: 110"] ["added count"=364] ["scan count"=364] ["next key"=74800000000000006b5f72800000000001d86200] ["take time"=7.648141ms] [2024/05/23 09:23:09.991 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=110] [2024/05/23 09:23:09.991 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1091] ["start key"=74800000000000006b5f727ffffffffffffff6] [2024/05/23 09:23:09.994 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=108] [startKey=74800000000000006c5f727ffffffffffffff9] [endKey=74800000000000006c5f72fffffffffffffdff00] [] [2024/05/23 09:23:09.994 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1091, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691456679936, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006c5f727ffffffffffffff9,EndKey:74800000000000006c5f72fffffffffffffdff00,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/23 09:23:09.994 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=74800000000000006c5f727ffffffffffffff9] ["end key"=74800000000000006c5f72fffffffffffffdff00] [2024/05/23 09:23:09.995 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006c5f727ffffffffffffff9] [endKey=74800000000000006c5f72fffffffffffffdff00] [2024/05/23 09:23:09.995 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=108] ["end key"=74800000000000006c5f72fffffffffffffdff00] ["current end key"=74800000000000006c5f72fffffffffffffdff00] [2024/05/23 09:23:09.995 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=110] [2024/05/23 09:23:09.995 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=110] [2024/05/23 09:23:09.995 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=110] [2024/05/23 09:23:10.001 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 2, tp add index"] [task="taskID: 1, physicalTableID: 108, range: [74800000000000006c5f727ffffffffffffff9, 74800000000000006c5f72fffffffffffffdff00), jobID: 110"] ["added count"=378] ["scan count"=378] ["next key"=74800000000000006c5f72fffffffffffffdff00] ["take time"=6.176944ms] [2024/05/23 09:23:10.001 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=110] [2024/05/23 09:23:10.001 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1469] ["start key"=74800000000000006c5f727ffffffffffffff9] [2024/05/23 09:23:10.029 +00:00] [INFO] [reorg.go:277] ["run reorg job wait timeout"] [category=ddl] ["wait time"=30ms] ["total added row count"=727] [2024/05/23 09:23:10.030 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:23:10.035 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:0, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691456679936, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:10.035 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=test_add_index] ["ingest mode"=false] [index=c3_index] [2024/05/23 09:23:10.037 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=1469] [2024/05/23 09:23:10.087 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=5.864417ms] [gotSchemaVersion=56] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:10.089 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/23 09:23:10.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=56] ["take time"=8.108785ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691456679936, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:10.097 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:0, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691456679936, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:10.098 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=110] [table=test_add_index] [index=c3_index] [2024/05/23 09:23:10.108 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=5.959011ms] [gotSchemaVersion=57] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:10.110 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=57] [2024/05/23 09:23:10.114 +00:00] [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"=11.817009ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:10.122 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:0, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:10.123 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=110] [physicalTableID=105] [startKey=7480000000000000695f69ffff000000000001] [endKey=7480000000000000695f69ffff000000000001ff] [2024/05/23 09:23:10.128 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/23 09:23:10.136 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:0, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691503603712, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:10.139 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691503603712, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000695f69ffff000000000001,EndKey:7480000000000000695f69ffff000000000001ff,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/23 09:23:10.140 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f69ffff000000000001] ["end key"=7480000000000000695f69ffff000000000001ff] [2024/05/23 09:23:10.140 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000695f69ffff000000000001] [endKey=7480000000000000695f69ffff000000000001ff] [2024/05/23 09:23:10.140 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=105] ["end key"=7480000000000000695f69ffff000000000001ff] ["current end key"=7480000000000000695f69ffff00000000000100] [2024/05/23 09:23:10.140 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.140 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.140 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.140 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 105, range: [7480000000000000695f69ffff000000000001, 7480000000000000695f69ffff00000000000100), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000695f69ffff0000000000010000] ["take time"=179.235µs] [2024/05/23 09:23:10.141 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.141 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1469] ["start key"=7480000000000000695f69ffff000000000001] [2024/05/23 09:23:10.143 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000001ff] [] [2024/05/23 09:23:10.143 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691503603712, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006a5f69ffff000000000001,EndKey:74800000000000006a5f69ffff000000000001ff,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/23 09:23:10.144 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f69ffff000000000001] ["end key"=74800000000000006a5f69ffff000000000001ff] [2024/05/23 09:23:10.144 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000001ff] [2024/05/23 09:23:10.144 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f69ffff000000000001ff] ["current end key"=74800000000000006a5f69ffff00000000000100] [2024/05/23 09:23:10.144 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.144 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.144 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.144 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 106, range: [74800000000000006a5f69ffff000000000001, 74800000000000006a5f69ffff00000000000100), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006a5f69ffff0000000000010000] ["take time"=117.314µs] [2024/05/23 09:23:10.144 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.144 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1469] ["start key"=74800000000000006a5f69ffff000000000001] [2024/05/23 09:23:10.146 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=107] [startKey=74800000000000006b5f69ffff000000000001] [endKey=74800000000000006b5f69ffff000000000001ff] [] [2024/05/23 09:23:10.146 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691503603712, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006b5f69ffff000000000001,EndKey:74800000000000006b5f69ffff000000000001ff,First:false,PhysicalTableID:107,Ingest mode:false"] [2024/05/23 09:23:10.147 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=107] ["start key"=74800000000000006b5f69ffff000000000001] ["end key"=74800000000000006b5f69ffff000000000001ff] [2024/05/23 09:23:10.147 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006b5f69ffff000000000001] [endKey=74800000000000006b5f69ffff000000000001ff] [2024/05/23 09:23:10.148 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=107] ["end key"=74800000000000006b5f69ffff000000000001ff] ["current end key"=74800000000000006b5f69ffff00000000000100] [2024/05/23 09:23:10.148 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.148 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.148 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.148 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 107, range: [74800000000000006b5f69ffff000000000001, 74800000000000006b5f69ffff00000000000100), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006b5f69ffff0000000000010000] ["take time"=104.346µs] [2024/05/23 09:23:10.148 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.148 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1469] ["start key"=74800000000000006b5f69ffff000000000001] [2024/05/23 09:23:10.150 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=108] [startKey=74800000000000006c5f69ffff000000000001] [endKey=74800000000000006c5f69ffff000000000001ff] [] [2024/05/23 09:23:10.150 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1469, ArgLen:6, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691503603712, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006c5f69ffff000000000001,EndKey:74800000000000006c5f69ffff000000000001ff,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/23 09:23:10.151 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=74800000000000006c5f69ffff000000000001] ["end key"=74800000000000006c5f69ffff000000000001ff] [2024/05/23 09:23:10.151 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006c5f69ffff000000000001] [endKey=74800000000000006c5f69ffff000000000001ff] [2024/05/23 09:23:10.151 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=108] ["end key"=74800000000000006c5f69ffff000000000001ff] ["current end key"=74800000000000006c5f69ffff00000000000100] [2024/05/23 09:23:10.151 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.151 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.151 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.152 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 108, range: [74800000000000006c5f69ffff000000000001, 74800000000000006c5f69ffff00000000000100), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006c5f69ffff0000000000010000] ["take time"=167.083µs] [2024/05/23 09:23:10.152 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/23 09:23:10.152 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1469] ["start key"=74800000000000006c5f69ffff000000000001] [2024/05/23 09:23:10.152 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=1469] [2024/05/23 09:23:10.186 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/23 09:23:10.193 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=4.951046ms] [gotSchemaVersion=58] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:10.194 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=58] [2024/05/23 09:23:10.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=58] ["take time"=8.480384ms] [job="ID:110, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:1469, ArgLen:3, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691503603712, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:10.204 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=105] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:23:10.206 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=106] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:23:10.207 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=107] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:23:10.207 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=108] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:23:10.208 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="add index"] [2024/05/23 09:23:10.209 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=110] [job="ID:110, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:1469, ArgLen:3, start time: 2024-05-23 09:23:09.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958691503603712, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:10.213 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=1] [startKey=7480000000000000695f69ffff000000000001] [endKey=7480000000000000695f69ffff000000000002] [2024/05/23 09:23:10.215 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/23 09:23:10.215 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.217 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=2] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000002] [2024/05/23 09:23:10.221 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=3] [startKey=74800000000000006b5f69ffff000000000001] [endKey=74800000000000006b5f69ffff000000000002] [2024/05/23 09:23:10.225 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=4] [startKey=74800000000000006c5f69ffff000000000001] [endKey=74800000000000006c5f69ffff000000000002] [2024/05/23 09:23:10.225 +00:00] [INFO] [executor.go:2329] ["fast check table by group"] ["table name"=test_add_index] ["index name"=c3_index] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`test_add_index`]) */ bit_xor(crc32(md5(concat_ws(0x2, `c1`, `c3`)))), ((cast(crc32(md5(concat_ws(0x2, `c1`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`test_add_index` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `c1`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `c1`, `c3`)))), ((cast(crc32(md5(concat_ws(0x2, `c1`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`test_add_index` use index(`c3_index`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `c1`))) as signed) - 0) div 1 % 1024)"] [2024/05/23 09:23:10.258 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=564770e3-15ed-4a10-acfa-7fec2c83e721] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:10.258 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:10.258 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 58, tp add index"] [category=ddl] ["take time"=1.856µs] [2024/05/23 09:23:10.258 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 60, tp add index"] [category=ddl] ["take time"=3.264µs] [2024/05/23 09:23:10.258 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 59, tp add index"] [category=ddl] ["take time"=1.115µs] [2024/05/23 09:23:10.258 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 57, tp add index"] [category=ddl] ["take time"=982ns] [2024/05/23 09:23:10.258 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:10.258 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 56, tp general"] [category=ddl] ["take time"=4.202µs] [2024/05/23 09:23:10.258 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:10.258 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:10.258 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:10.260 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=564770e3-15ed-4a10-acfa-7fec2c83e721] ["take time"=1.398875ms] [2024/05/23 09:23:10.260 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=564770e3-15ed-4a10-acfa-7fec2c83e721] [2024/05/23 09:23:10.260 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:23:10.260 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:10.260 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:10.260 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:10.260 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:10.260 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:10.260 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:10.260 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:10.260 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:10.260 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:10.260 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:10.261 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=564770e3-15ed-4a10-acfa-7fec2c83e721] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:23:10.261 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:10.261 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:10.261 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=564770e3-15ed-4a10-acfa-7fec2c83e721] [ownerKey=/tidb/stats/owner] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:10.261 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:23:10.261 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:23:10.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:10.262 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.535468ms] [2024/05/23 09:23:10.266 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:23:10.267 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:23:10.267 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:23:10.267 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:23:10.267 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:23:10.267 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAddIndex3 (2.53s) === RUN TestMultiSchemaChangeMixedWithUpdate [2024/05/23 09:23:10.272 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:23:10.272 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:10.272 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:10.273 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:10.273 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:10.274 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:10.276 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=82dba746-b425-44c7-a28e-f42017a398fc] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:23:10.284 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:23:10.284 +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/23 09:23:10.284 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestMultiSchemaChangeMixedWithUpdate\n\tpkg/ddl/multi_schema_change_test.go:765\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:23:10.304 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=19.57598ms] [2024/05/23 09:23:10.306 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:10.306 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=8718adc0-1381-48c7-a5b0-8df8eee7c571] [runWorker=true] [2024/05/23 09:23:10.306 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:10.306 +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/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:10.306 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:10.306 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:10.306 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:10.306 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:10.306 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:10.306 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:10.307 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:23:10.307 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:23:10.310 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.310 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:23:10.317 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.337 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=17.193611ms] [2024/05/23 09:23:10.339 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:10.341 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.341 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:23:10.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=1] ["take time"=22.849582ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:10.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.348 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.352 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:23:10.352 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.353 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:23:10.354 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.361 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.361 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.356 +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/23 09:23:10.371 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.382 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.297152ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.384 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.384 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:23: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=2] ["take time"=4.193815ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.392 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.399 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:23:10.399 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.400 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.403 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.403 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.401 +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/23 09:23:10.410 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.414 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=341.707µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.415 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.415 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:23:10.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=3] ["take time"=2.048414ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.421 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.425 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:23:10.425 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.425 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.428 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.428 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.427 +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/23 09:23:10.436 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.440 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=283.841µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.441 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.441 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:23:10.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=4] ["take time"=4.764344ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.452 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.456 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:23:10.457 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.457 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.462 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.463 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.459 +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/23 09:23:10.470 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.477 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=767.871µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.478 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.479 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:23:10.480 +00:00] [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.233361ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.487 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.492 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:23:10.493 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.493 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.497 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.495 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.497 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.495 +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/23 09:23:10.504 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.495 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.510 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=484.014µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.511 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.511 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:23:10.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=6] ["take time"=4.226689ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.495 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.520 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.495 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.523 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:23:10.523 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.524 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.527 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.527 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.525 +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/23 09:23:10.535 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.539 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=408.786µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.541 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.541 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:23:10.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=7] ["take time"=4.465964ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.550 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.554 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:23:10.554 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.554 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.559 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.559 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.558 +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/23 09:23:10.566 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.569 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=295.642µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.571 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.571 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:23:10.571 +00:00] [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.135591ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.579 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.583 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:23:10.583 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.583 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.587 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.587 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.585 +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/23 09:23:10.596 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.599 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=310.219µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.601 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.601 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:23:10.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=9] ["take time"=19.079922ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.629 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.632 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:23:10.632 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.633 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.635 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.636 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.634 +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/23 09:23:10.643 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.646 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=248.309µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.648 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.648 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:23:10.651 +00:00] [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.767332ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.657 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.661 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:23:10.661 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.662 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.665 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.665 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.663 +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/23 09:23:10.674 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.677 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=274.528µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.678 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.678 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:23:10.679 +00:00] [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.285187ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.685 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.689 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:23:10.690 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.690 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.690 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:10.694 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.694 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.692 +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/23 09:23:10.702 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.707 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=540.901µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.709 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.709 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:23:10.712 +00:00] [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.103441ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.719 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.724 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:23:10.724 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.724 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.729 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.729 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.726 +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/23 09:23:10.736 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.740 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=443.474µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.742 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.742 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:23:10.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=13] ["take time"=4.498262ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.753 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.758 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:23:10.758 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.759 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.762 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.762 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.761 +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/23 09:23:10.773 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.776 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=344.521µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.778 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.778 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:23:10.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=14] ["take time"=4.043777ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.786 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.791 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:23:10.791 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.792 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.795 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.795 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.793 +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/23 09:23:10.803 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.807 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=328.982µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.809 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.809 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:23:10.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=15] ["take time"=4.018054ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.819 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.823 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:23:10.823 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.824 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.827 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.826 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.827 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.826 +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/23 09:23:10.837 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.826 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.841 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=387.786µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.843 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.843 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:23: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=16] ["take time"=4.438887ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.826 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.852 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.826 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.855 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:23:10.855 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.856 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.860 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.860 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.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/23 09:23:10.868 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.871 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=357.741µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.873 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.873 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:23:10.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=17] ["take time"=4.824687ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.882 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.886 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:23:10.886 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.887 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.889 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.889 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.888 +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/23 09:23:10.902 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.907 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=365.052µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.909 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.909 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:23:10.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=18] ["take time"=4.036661ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.920 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.925 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:23:10.925 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.925 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.930 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.931 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.928 +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/23 09:23:10.938 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.943 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=576.432µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.945 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.945 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:23:10.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=19] ["take time"=4.143855ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.956 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.961 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:23:10.961 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.968 +00:00] [INFO] [session.go:3959] ["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/23 09:23:10.971 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:10.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:10.971 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:10.97 +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/23 09:23:10.978 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:10.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.982 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=396.198µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:10.984 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:10.984 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:23:10.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=20] ["take time"=4.417864ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:10.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.994 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:10.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:10.998 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:23:10.998 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:10.998 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.011 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.011 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.007 +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/23 09:23:11.021 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.025 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=294.172µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.027 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.027 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:23:11.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=21] ["take time"=4.580994ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.038 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.044 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:23:11.044 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.045 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.049 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.049 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.047 +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/23 09:23:11.055 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.058 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=216.426µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.060 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.060 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:23:11.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=22] ["take time"=2.063253ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.067 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.072 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:23:11.072 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.072 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.077 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.077 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.074 +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/23 09:23:11.084 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.087 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=325.203µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.088 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.088 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:23:11.090 +00:00] [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.012038ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.094 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.099 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:23:11.099 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.099 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.102 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.102 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.101 +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/23 09:23:11.109 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.113 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=330.31µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.115 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.115 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:23:11.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=24] ["take time"=2.044146ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.120 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.124 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:23:11.124 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.124 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.129 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.129 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.127 +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/23 09:23:11.136 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.140 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=338.036µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.142 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.142 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:23:11.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=25] ["take time"=4.738488ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.153 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.157 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:23:11.157 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.158 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.161 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.161 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.159 +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/23 09:23:11.170 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=286.41µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.176 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.176 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:23:11.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=26] ["take time"=4.636155ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.186 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.189 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:23:11.189 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.190 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.193 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.193 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.192 +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/23 09:23:11.204 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.207 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=332.632µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.210 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.210 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:23:11.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=27] ["take time"=4.987756ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.221 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.224 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:23:11.224 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.225 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.229 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.229 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.227 +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/23 09:23:11.239 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.243 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=284.065µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.244 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.244 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:23:11.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"=3.081331ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.251 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.254 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:23:11.254 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.255 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.255 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:11.258 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.258 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.256 +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/23 09:23:11.267 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.272 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=396.505µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.273 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.273 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:23:11.276 +00:00] [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"=5.065016ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.283 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.288 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:23:11.288 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.288 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.292 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.292 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.29 +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/23 09:23:11.300 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.304 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=429.314µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.306 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.306 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:23:11.308 +00:00] [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.30706ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.308 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:23:11.322 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.328 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:23:11.328 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.328 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.332 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.332 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.33 +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/23 09:23:11.340 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.345 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=360.61µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.346 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.346 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:23:11.347 +00:00] [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.922973ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.355 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.360 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:23:11.360 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.361 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.365 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.365 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.363 +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/23 09:23:11.373 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.379 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=524.727µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.380 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.380 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:23:11.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=32] ["take time"=4.393572ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.388 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.393 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:23:11.393 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.393 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.397 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.397 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.395 +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/23 09:23:11.409 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.413 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=239.801µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.414 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.414 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:23:11.414 +00:00] [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.016386ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.421 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.424 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:23:11.424 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.430 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.430 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:23:11.438 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.442 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=341.843µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:11.443 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.443 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:23: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=34] ["take time"=4.400443ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:11.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.451 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.462 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:23:11.462 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.462 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.470 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.470 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.464 +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/23 09:23:11.476 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.479 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=290.297µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.481 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.481 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:23: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=35] ["take time"=2.090997ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.487 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.491 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:23:11.491 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.491 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.495 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.495 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.493 +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/23 09:23:11.504 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.507 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=249.787µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.508 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.508 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:23:11.509 +00:00] [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.380398ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.518 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.521 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:23:11.521 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.522 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.525 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.525 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.523 +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/23 09:23:11.533 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.537 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=229.251µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.539 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.539 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:23:11.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=37] ["take time"=2.71788ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.546 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.549 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:23:11.549 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.550 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.555 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.555 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.552 +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/23 09:23:11.563 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.569 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=624.905µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.571 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.571 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:23:11.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=38] ["take time"=4.173346ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.578 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.583 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:23:11.583 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.583 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.587 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.587 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.585 +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/23 09:23:11.595 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.600 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=550.285µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.601 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.601 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:23:11.603 +00:00] [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.225847ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.609 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.617 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:23:11.617 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.618 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.626 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.626 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.623 +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/23 09:23:11.633 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.638 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=425.958µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.639 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.639 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:23:11.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=40] ["take time"=4.932936ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.650 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.655 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:23:11.655 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.656 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.660 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.660 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.658 +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/23 09:23:11.668 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.674 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=486.774µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.675 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.675 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:23:11.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=41] ["take time"=2.971715ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.681 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.686 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:23:11.686 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.686 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.691 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.691 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.688 +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/23 09:23:11.698 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.704 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=688.026µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.706 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.706 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:23: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=42] ["take time"=4.108286ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.719 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.724 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:23:11.724 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.725 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.728 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.729 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.726 +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/23 09:23:11.738 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.744 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=655.329µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.746 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.746 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:23:11.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=43] ["take time"=4.676968ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.755 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.769 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:23:11.769 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.770 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.774 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.772 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.774 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.772 +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/23 09:23:11.780 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.772 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.784 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=448.846µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.786 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.786 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:23:11.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=44] ["take time"=5.016737ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.772 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.795 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.772 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.800 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:23:11.800 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.801 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.804 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.804 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.802 +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/23 09:23:11.814 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.818 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=413.039µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.820 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.820 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:23:11.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=45] ["take time"=4.061008ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.829 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.833 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:23:11.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.834 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.838 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.838 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.836 +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/23 09:23:11.849 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.855 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=688.148µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.857 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.857 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:23:11.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=46] ["take time"=4.49332ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.869 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.874 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:23:11.874 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.875 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.878 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.879 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.877 +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/23 09:23:11.890 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.896 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=438.145µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.898 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.898 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:23:11.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=47] ["take time"=5.012745ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.906 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.912 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:23:11.912 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.913 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.916 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.916 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.914 +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/23 09:23:11.925 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=317.4µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.931 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.931 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:23:11.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=48] ["take time"=8.150591ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.943 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.947 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:23:11.948 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.948 +00:00] [INFO] [session.go:3959] ["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/23 09:23:11.952 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.952 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.95 +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/23 09:23:11.966 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.970 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=413.709µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:11.972 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:11.973 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:23:11.977 +00:00] [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"=7.13932ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:11.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.985 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:11.990 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:23:11.990 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:11.990 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:23:11.995 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:11.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:11.995 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:11.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:23:12.010 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:11.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:12.013 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=86.291µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:23:12.014 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:12.014 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:23:12.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=50] ["take time"=4.214611ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:11.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:12.024 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:11.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:12.028 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:23:12.028 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:12.032 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:12.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:12.032 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:12.03 +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/23 09:23:12.053 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:12.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:12.058 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=428.622µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:12.062 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:12.062 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:23:12.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=51] ["take time"=5.573829ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:12.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:12.076 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:12.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:12.082 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:23:12.082 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:12.126 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.819696208s] [2024/05/23 09:23:12.129 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8718adc0-1381-48c7-a5b0-8df8eee7c571] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:12.129 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:12.129 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 63, tp add index"] [category=ddl] ["take time"=2.071µs] [2024/05/23 09:23:12.129 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 64, tp add index"] [category=ddl] ["take time"=1.362µs] [2024/05/23 09:23:12.129 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 65, tp add index"] [category=ddl] ["take time"=960ns] [2024/05/23 09:23:12.129 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 62, tp add index"] [category=ddl] ["take time"=1.228µs] [2024/05/23 09:23:12.129 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:12.129 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 61, tp general"] [category=ddl] ["take time"=1.014µs] [2024/05/23 09:23:12.129 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:12.129 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:12.129 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:12.133 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=8718adc0-1381-48c7-a5b0-8df8eee7c571] ["take time"=6.81272ms] [2024/05/23 09:23:12.133 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=8718adc0-1381-48c7-a5b0-8df8eee7c571] [2024/05/23 09:23:12.135 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:12.135 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:12.135 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:12.135 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:12.135 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:12.135 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:12.135 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:12.135 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:12.135 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:12.135 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:12.135 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:12.135 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:12.135 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:12.135 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:12.135 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=9.318287ms] [2024/05/23 09:23:12.135 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=82dba746-b425-44c7-a28e-f42017a398fc] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:23:12.144 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:23:12.144 +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/23 09:23:12.197 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=52.398906ms] [2024/05/23 09:23:12.210 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:12.211 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=5afe3997-44e0-4739-86c7-a43e607c9d9c] [runWorker=true] [2024/05/23 09:23:12.212 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:12.212 +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/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:12.212 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:12.212 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:12.212 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:12.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:12.212 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:12.212 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:12.213 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:23:12.221 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:12.221 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:23:12.237 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:12.240 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:12.242 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:12.243 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:23:12.244 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:12.244 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:12.244 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:23:12.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:12.245 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:12.245 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:12.245 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:23:12.247 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:12.250 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:23:12.250 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:23:12.253 +00:00] [INFO] [set.go:170] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:23:12.254 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=51] [cur_db=test] [sql="create table t (c_1 int, c_2 char(20), c_pos_1 int, c_idx_visible int, c_3 decimal(5, 3), c_drop_1 time, c_4 datetime, c_drop_idx char(10), c_5 time, c_6 double, c_drop_2 int, c_pos_2 char(10), c_add_idx_1 int, c_add_idx_2 char(20), index idx_1(c_1), index idx_2(c_2), index idx_drop(c_drop_idx), index idx_3(c_drop_1), index idx_4(c_4), index idx_5(c_pos_1, c_pos_2), index idx_visible(c_idx_visible));"] [user=] [2024/05/23 09:23:12.259 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:12.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:12.259 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:12.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (c_1 int, c_2 char(20), c_pos_1 int, c_idx_visible int, c_3 decimal(5, 3), c_drop_1 time, c_4 datetime, c_drop_idx char(10), c_5 time, c_6 double, c_drop_2 int, c_pos_2 char(10), c_add_idx_1 int, c_add_idx_2 char(20), index idx_1(c_1), index idx_2(c_2), index idx_drop(c_drop_idx), index idx_3(c_drop_1), index idx_4(c_4), index idx_5(c_pos_1, c_pos_2), index idx_visible(c_idx_visible));"] [2024/05/23 09:23:12.265 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=13] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:12.271 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=630.078µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:12.272 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:23:12.275 +00:00] [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"=4.880896ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:12.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:12.281 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=13] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:12.287 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:23:12.287 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:12.290 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=52] [cur_db=test] [sql="alter table t add index i_add_1(c_add_idx_1), drop index idx_drop, add index i_add_2(c_add_idx_2), modify column c_2 char(100), add column c_add_2 bigint, modify column c_1 bigint, add column c_add_1 bigint, modify column c_5 varchar(255) first, modify column c_4 datetime first, drop column c_drop_1, drop column c_drop_2, modify column c_6 int, alter index idx_visible invisible, modify column c_3 decimal(10, 2);"] [user=] [2024/05/23 09:23:12.298 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:23:12.298 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index i_add_1(c_add_idx_1), drop index idx_drop, add index i_add_2(c_add_idx_2), modify column c_2 char(100), add column c_add_2 bigint, modify column c_1 bigint, add column c_add_1 bigint, modify column c_5 varchar(255) first, modify column c_4 datetime first, drop column c_drop_1, drop column c_drop_2, modify column c_6 int, alter index idx_visible invisible, modify column c_3 decimal(10, 2);"] [2024/05/23 09:23:12.307 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.308 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.308 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.310 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.311 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.318 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.318 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.319 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.322 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.324 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.330 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.331 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.331 +00:00] [INFO] [column.go:136] ["run add column job"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":15,\"name\":{\"O\":\"c_add_2\",\"L\":\"c_add_2\"},\"offset\":14,\"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/23 09:23:12.332 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.335 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=794.366µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:23:12.337 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/23 09:23:12.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=53] ["take time"=4.954172ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.341 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.353 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.353 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.354 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.357 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=527.951µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:23:12.359 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/23 09:23:12.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=54] ["take time"=4.361321ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.363 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.369 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.369 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.370 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.374 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=840.932µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:23:12.376 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/23 09:23:12.377 +00:00] [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"=4.319801ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.380 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.387 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.387 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.388 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.390 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.392 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.401 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.401 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.401 +00:00] [INFO] [column.go:136] ["run add column job"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":16,\"name\":{\"O\":\"c_add_1\",\"L\":\"c_add_1\"},\"offset\":15,\"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/23 09:23:12.402 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.406 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=890.55µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:23:12.407 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/23 09:23:12.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=56] ["take time"=4.816861ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.411 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.420 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.420 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.421 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.425 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=896.149µs] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:23:12.427 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=57] [2024/05/23 09:23:12.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=57] ["take time"=4.51385ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.431 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.438 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.438 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.439 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.443 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=864.362µs] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:23:12.445 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=58] [2024/05/23 09:23:12.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=58] ["take time"=9.753907ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.454 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.463 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.463 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.464 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.467 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=851.814µs] [gotSchemaVersion=59] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:12.469 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=59] [2024/05/23 09:23:12.471 +00:00] [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.252696ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.472 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.479 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.479 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.481 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.485 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=828.448µs] [gotSchemaVersion=60] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:12.487 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=60] [2024/05/23 09:23:12.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=60] ["take time"=4.343844ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.490 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.497 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.497 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.498 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.501 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=799.282µs] [gotSchemaVersion=61] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:12.503 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=61] [2024/05/23 09:23:12.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=61] ["take time"=4.967139ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.507 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.513 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.513 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.515 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.517 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.519 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.520 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.527 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.527 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692130390016, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.530 +00:00] [INFO] [column.go:1077] ["start to update table row"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692130390016, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [reorgInfo="CurrElementType:_col_,CurrElementID:17,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:23:12.531 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.531 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.531 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000100] ["current end key"=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.532 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106] [2024/05/23 09:23:12.532 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106] [2024/05/23 09:23:12.532 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106] [2024/05/23 09:23:12.532 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f728000000000000001, 7480000000000000685f72800000000000000100), jobID: 106"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000685f7280000000000000010000] ["take time"=577.543µs] [2024/05/23 09:23:12.532 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106] [2024/05/23 09:23:12.532 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:17,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001] [2024/05/23 09:23:12.533 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/23 09:23:12.568 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.570 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.571 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.577 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.577 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.578 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.579 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.581 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.588 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.588 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.589 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.591 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.592 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.598 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.598 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.599 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.603 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.604 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.611 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.611 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.613 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.616 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=743.425µs] [gotSchemaVersion=62] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:12.617 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=62] [2024/05/23 09:23:12.620 +00:00] [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"=5.010453ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.622 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.629 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.629 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.631 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.634 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=675.71µs] [gotSchemaVersion=63] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:12.636 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=63] [2024/05/23 09:23:12.638 +00:00] [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"=4.583627ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.640 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.647 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.647 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.649 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.652 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=767.485µs] [gotSchemaVersion=64] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:12.654 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=64] [2024/05/23 09:23:12.657 +00:00] [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"=5.700471ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.666 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.675 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.675 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.677 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.680 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.682 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.687 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.695 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.695 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692172857344, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.698 +00:00] [INFO] [column.go:1077] ["start to update table row"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692172857344, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [reorgInfo="CurrElementType:_col_,CurrElementID:18,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:23:12.699 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.699 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.700 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000100] ["current end key"=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.700 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106] [2024/05/23 09:23:12.700 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106] [2024/05/23 09:23:12.700 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106] [2024/05/23 09:23:12.701 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f728000000000000001, 7480000000000000685f72800000000000000100), jobID: 106"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000685f7280000000000000010000] ["take time"=755.354µs] [2024/05/23 09:23:12.701 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106] [2024/05/23 09:23:12.701 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:18,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001] [2024/05/23 09:23:12.701 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/23 09:23:12.745 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.747 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.748 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.755 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.755 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.756 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.758 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.760 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.771 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.771 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.772 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.776 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=920.505µs] [gotSchemaVersion=65] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:12.778 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=65] [2024/05/23 09:23:12.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=65] ["take time"=4.819968ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.782 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.788 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.788 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.789 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.793 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=856.678µs] [gotSchemaVersion=66] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:12.795 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=66] [2024/05/23 09:23:12.797 +00:00] [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"=4.6769ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.799 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.806 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.806 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.807 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.811 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=852.581µs] [gotSchemaVersion=67] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:23:12.813 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=67] [2024/05/23 09:23:12.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=67] ["take time"=4.727916ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.817 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.824 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.824 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.826 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.828 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.831 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.832 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.838 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.838 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692211916801, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.841 +00:00] [INFO] [column.go:1077] ["start to update table row"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692211916801, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [reorgInfo="CurrElementType:_col_,CurrElementID:19,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:23:12.843 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.843 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.843 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000100] ["current end key"=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.843 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106] [2024/05/23 09:23:12.844 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f728000000000000001, 7480000000000000685f72800000000000000100), jobID: 106"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000685f7280000000000000010000] ["take time"=601.151µs] [2024/05/23 09:23:12.844 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106] [2024/05/23 09:23:12.844 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106] [2024/05/23 09:23:12.844 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106] [2024/05/23 09:23:12.844 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:19,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001] [2024/05/23 09:23:12.845 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/23 09:23:12.889 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.891 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.893 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.900 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.900 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.901 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [indexInfo="{\"id\":8,\"idx_name\":{\"O\":\"i_add_1\",\"L\":\"i_add_1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c_add_idx_1\",\"L\":\"c_add_idx_1\"},\"offset\":12,\"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/23 09:23:12.901 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [indexInfo="{\"id\":9,\"idx_name\":{\"O\":\"i_add_2\",\"L\":\"i_add_2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c_add_idx_2\",\"L\":\"c_add_idx_2\"},\"offset\":13,\"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/23 09:23:12.901 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.905 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=976.107µs] [gotSchemaVersion=68] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:12.907 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=68] [2024/05/23 09:23:12.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=68] ["take time"=5.035214ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.911 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.919 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.919 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.920 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.923 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=633.765µs] [gotSchemaVersion=69] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:12.924 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=69] [2024/05/23 09:23:12.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=69] ["take time"=4.519763ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.928 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.935 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.935 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.937 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.941 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=1.042226ms] [gotSchemaVersion=70] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:12.943 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=70] [2024/05/23 09:23:12.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=70] ["take time"=6.330721ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.947 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.953 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.953 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.954 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.956 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.958 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:12.960 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.966 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:12.967 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692245733376, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/23 09:23:12.969 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692245733376, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [reorgInfo="CurrElementType:_idx_,CurrElementID:8,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/23 09:23:12.971 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.971 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.971 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000100] ["current end key"=7480000000000000685f72800000000000000100] [2024/05/23 09:23:12.972 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f728000000000000001, 7480000000000000685f72800000000000000100), jobID: 106"] ["added count"=2] ["scan count"=2] ["next key"=7480000000000000685f72800000000000000100] ["take time"=646.318µs] [2024/05/23 09:23:12.972 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=106] [2024/05/23 09:23:12.972 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=106] [2024/05/23 09:23:12.972 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=106] [2024/05/23 09:23:12.972 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=106] [2024/05/23 09:23:12.972 +00:00] [INFO] [backfilling.go:637] ["backfill workers successfully processed"] [category=ddl] [element=ID:8,TypeKey:_idx_] ["total added count"=2] ["start key"=7480000000000000685f728000000000000001] [2024/05/23 09:23:12.972 +00:00] [INFO] [reorg.go:247] ["run reorg job done"] [category=ddl] ["handled rows"=2] [2024/05/23 09:23:13.017 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.021 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=945.556µs] [gotSchemaVersion=71] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/23 09:23:13.022 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=71] [2024/05/23 09:23:13.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=71] ["take time"=7.118205ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.029 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.036 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.037 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop index, State:running, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.038 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.039 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.040 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.041 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.042 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692130390016, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.043 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.043 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.044 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.045 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692172857344, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.046 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:alter index visibility, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.046 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692211916801, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.047 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:2, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958692245733376, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.048 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/23 09:23:13.048 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.055 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=940.111µs] [gotSchemaVersion=72] [phyTblIDs="[104]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/23 09:23:13.057 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=72] [2024/05/23 09:23:13.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=72] ["take time"=3.060679ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.058 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.065 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.065 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.071 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.075 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=654.719µs] [gotSchemaVersion=73] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/23 09:23:13.077 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=73] [2024/05/23 09:23:13.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=73] ["take time"=4.510128ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.081 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.087 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.088 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.089 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.093 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=802.056µs] [gotSchemaVersion=74] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/23 09:23:13.095 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=74] [2024/05/23 09:23:13.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=74] ["take time"=4.304985ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.098 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.104 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.104 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.105 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.108 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=665.271µs] [gotSchemaVersion=75] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/23 09:23:13.110 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=75] [2024/05/23 09:23:13.110 +00:00] [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.522869ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.111 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.119 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.119 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.121 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.124 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=796.406µs] [gotSchemaVersion=76] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:13.126 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=76] [2024/05/23 09:23:13.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=76] ["take time"=6.283335ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.132 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.140 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.140 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.141 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.145 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=834.726µs] [gotSchemaVersion=77] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:13.147 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=77] [2024/05/23 09:23:13.162 +00:00] [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"=17.873313ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.164 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.170 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.170 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.171 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.175 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=719.994µs] [gotSchemaVersion=78] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:13.176 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=78] [2024/05/23 09:23:13.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=78] ["take time"=2.384122ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.178 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.186 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.186 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.187 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.191 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=777.582µs] [gotSchemaVersion=79] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:13.193 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=79] [2024/05/23 09:23:13.195 +00:00] [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"=5.070117ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.197 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.204 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.209 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.210 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.217 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:23:13.217 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:23:13.217 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:23:13.217 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:13.224 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=816.597µs] [gotSchemaVersion=80] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:13.226 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=80] [2024/05/23 09:23:13.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=80] ["take time"=6.586339ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.230 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.237 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.237 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/23 09:23:13.238 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.242 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=753.42µs] [gotSchemaVersion=81] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/23 09:23:13.244 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=81] [2024/05/23 09:23:13.246 +00:00] [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"=4.582003ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.246 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/23 09:23:13.246 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/23 09:23:13.251 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/23 09:23:13.253 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/23 09:23:13.253 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/23 09:23:13.253 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/23 09:23:13.253 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/23 09:23:13.256 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.263 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.264 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.266 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:23:13.267 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.276 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[3]"] [comment="drop index: table ID"] [2024/05/23 09:23:13.277 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[4]"] [comment="drop column: table ID"] [2024/05/23 09:23:13.283 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[9223090561878065160]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:23:13.284 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[9223090561878065161]"] [comment="add index: physical table ID(s)"] [2024/05/23 09:23:13.285 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="alter table multi-schema change"] [2024/05/23 09:23:13.286 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=13] [job="ID:106, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.291 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=1] [startKey=7480000000000000685f698000000000000003] [endKey=7480000000000000685f698000000000000004] [2024/05/23 09:23:13.293 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:23:13.294 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=2] [startKey=7480000000000000685f698000000000000004] [endKey=7480000000000000685f698000000000000005] [2024/05/23 09:23:13.295 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=3] [startKey=7480000000000000685f69ffff000000000008] [endKey=7480000000000000685f69ffff000000000009] [2024/05/23 09:23:13.296 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/23 09:23:13.296 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.296 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=4] [startKey=7480000000000000685f69ffff000000000009] [endKey=7480000000000000685f69ffff00000000000a] [2024/05/23 09:23:13.298 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5afe3997-44e0-4739-86c7-a43e607c9d9c] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:13.298 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:13.298 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 68, tp add index"] [category=ddl] ["take time"=1.687µs] [2024/05/23 09:23:13.298 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 67, tp add index"] [category=ddl] ["take time"=1.515µs] [2024/05/23 09:23:13.298 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 70, tp add index"] [category=ddl] ["take time"=995ns] [2024/05/23 09:23:13.298 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 69, tp add index"] [category=ddl] ["take time"=1.053µs] [2024/05/23 09:23:13.298 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:13.298 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 66, tp general"] [category=ddl] ["take time"=4.122µs] [2024/05/23 09:23:13.298 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:13.298 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:13.298 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:13.300 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=5afe3997-44e0-4739-86c7-a43e607c9d9c] ["take time"=4.375578ms] [2024/05/23 09:23:13.300 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=5afe3997-44e0-4739-86c7-a43e607c9d9c] [2024/05/23 09:23:13.300 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:23:13.300 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/23 09:23:13.301 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:13.301 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:13.301 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:13.301 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:13.301 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:13.301 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:13.301 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:13.301 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:13.301 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:13.301 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:13.302 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1549] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=5afe3997-44e0-4739-86c7-a43e607c9d9c] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:13.302 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/23 09:23:13.302 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5afe3997-44e0-4739-86c7-a43e607c9d9c] [ownerKey=/tidb/stats/owner] [2024/05/23 09:23:13.302 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:13.302 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5afe3997-44e0-4739-86c7-a43e607c9d9c] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1551] ["dist task scheduler manager stopped"] [id=5afe3997-44e0-4739-86c7-a43e607c9d9c] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:13.302 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.436854ms] [2024/05/23 09:23:13.303 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:23:13.303 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:23:13.303 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:23:13.303 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:23:13.303 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:23:13.304 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestMultiSchemaChangeMixedWithUpdate (3.04s) === RUN TestRepairTable [2024/05/23 09:23:13.326 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:23:13.327 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:13.327 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:13.327 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:13.327 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:13.328 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:13.330 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=38d9801f-8882-4758-b1da-d781cd16a6c4] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/23 09:23:13.337 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:23:13.338 +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/23 09:23:13.338 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestRepairTable\n\tpkg/ddl/repair_table_test.go:42\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:23:13.358 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=20.26249ms] [2024/05/23 09:23:13.361 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:13.361 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=6fea6b28-b8d5-446d-a69d-c02af9b2c702] [runWorker=true] [2024/05/23 09:23:13.362 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:13.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/23 09:23:13.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:13.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:13.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:13.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:13.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:13.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:13.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:13.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:13.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:13.362 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:13.363 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:13.363 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:13.363 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:13.363 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:13.363 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:13.363 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:23:13.363 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:23:13.367 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.367 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:23:13.374 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.391 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=14.782942ms] [2024/05/23 09:23:13.393 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:13.395 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.395 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:23:13.397 +00:00] [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.548752ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:13.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.403 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.406 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:23:13.406 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.407 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:23:13.408 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.414 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.414 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.41 +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/23 09:23:13.420 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.430 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.277823ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.432 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.432 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:23:13.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=2] ["take time"=4.689318ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.440 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.447 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:23:13.447 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.447 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.451 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.451 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.449 +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/23 09:23:13.458 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.462 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=362.098µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.463 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.463 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:23:13.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"=4.010426ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.474 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.477 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:23:13.477 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.478 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.480 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.481 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.479 +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/23 09:23:13.488 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.491 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=276.011µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.492 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.492 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:23:13.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=4] ["take time"=2.467021ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.498 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.503 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:23:13.503 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.503 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.509 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.509 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.506 +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/23 09:23:13.515 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.521 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=623.759µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.522 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.522 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:23:13.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"=2.663024ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.528 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.535 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:23:13.535 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.535 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.539 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.539 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.537 +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/23 09:23:13.545 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.548 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=319.121µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.549 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.549 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:23:13.550 +00:00] [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.381372ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.556 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.559 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:23:13.559 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.559 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.562 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.562 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.561 +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/23 09:23:13.570 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.574 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=402.941µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.575 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.575 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:23:13.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=7] ["take time"=2.545021ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.581 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.584 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:23:13.584 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.584 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.588 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.588 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.586 +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/23 09:23:13.596 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.599 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=192.894µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.600 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.600 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:23:13.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=8] ["take time"=2.246151ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.607 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.610 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:23:13.611 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.611 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.614 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.614 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.612 +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/23 09:23:13.622 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.625 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=277.437µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.627 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.627 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:23:13.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=9] ["take time"=2.020524ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.632 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.635 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:23:13.635 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.636 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.639 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.639 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.637 +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/23 09:23:13.647 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.651 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=375.121µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.653 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.653 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:23:13.655 +00:00] [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.220231ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.660 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.664 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:23:13.664 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.664 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.669 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.669 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.667 +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/23 09:23:13.678 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.681 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=340.228µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.683 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.683 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:23:13.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=11] ["take time"=4.220202ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.691 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.695 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:23:13.695 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.695 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.696 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:13.698 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.698 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.697 +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/23 09:23:13.705 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.710 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=551.536µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.712 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.712 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:23:13.712 +00:00] [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.842482ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.724 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.728 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:23:13.728 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.729 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.731 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.731 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.73 +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/23 09:23:13.740 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.744 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=440.797µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.746 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.746 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:23:13.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=13] ["take time"=4.341706ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.755 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.758 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:23:13.758 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.759 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.762 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.762 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.76 +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/23 09:23:13.769 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.772 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=290.301µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.773 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.773 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:23:13.774 +00:00] [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.168395ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.783 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.787 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:23:13.787 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.788 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.791 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.791 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.789 +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/23 09:23:13.799 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.802 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=357.496µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.804 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.804 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:23:13.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=15] ["take time"=4.043566ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.812 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.816 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:23:13.816 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.817 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.820 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.820 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.819 +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/23 09:23:13.829 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.832 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=308.198µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.833 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.833 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:23:13.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=16] ["take time"=2.425088ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.840 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.843 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:23:13.843 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.844 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.847 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.847 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.846 +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/23 09:23:13.858 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.863 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=407.554µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.865 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.865 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:23:13.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=17] ["take time"=4.621096ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.877 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.881 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:23:13.881 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.882 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.885 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.885 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.883 +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/23 09:23:13.894 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.897 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=261.161µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.898 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.898 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:23:13.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=18] ["take time"=2.624147ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.905 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.908 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:23:13.908 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.908 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.912 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.912 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.91 +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/23 09:23:13.920 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.924 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=511.411µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.926 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.926 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:23:13.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=19] ["take time"=4.468266ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.934 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.938 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:23:13.938 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.939 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.942 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.942 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.94 +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/23 09:23:13.948 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.951 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=410.022µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.953 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.953 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:23:13.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"=5.011852ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.961 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.965 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:23:13.965 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.965 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.968 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.968 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.967 +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/23 09:23:13.972 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.975 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=269.43µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:13.976 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:13.976 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:23:13.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=21] ["take time"=3.079711ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.985 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:13.988 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:23:13.988 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:13.989 +00:00] [INFO] [session.go:3959] ["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/23 09:23:13.991 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:13.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:13.991 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:13.99 +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/23 09:23:14.002 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:13.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.005 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=244.553µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.007 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.007 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:23:14.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=22] ["take time"=5.217602ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:13.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.019 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:13.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.023 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:23:14.024 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.024 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.027 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.027 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.025 +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/23 09:23:14.037 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.042 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=441.839µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.043 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.043 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:23:14.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=23] ["take time"=2.6133ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.048 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.052 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:23:14.052 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.052 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.056 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.056 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.054 +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/23 09:23:14.062 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.066 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=325.587µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.067 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.067 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:23:14.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.112628ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.073 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.077 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:23:14.077 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.078 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.080 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.080 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.079 +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/23 09:23:14.089 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.093 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=332.547µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.094 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.094 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:23:14.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=25] ["take time"=2.043898ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.100 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.103 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:23:14.103 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.104 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.106 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.106 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.105 +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/23 09:23:14.115 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.118 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=262.472µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.120 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.120 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:23:14.120 +00:00] [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.235987ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.127 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.131 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:23:14.131 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.132 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.135 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.135 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.133 +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/23 09:23:14.144 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.148 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=307.1µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.150 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.150 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:23:14.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=27] ["take time"=2.084164ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.156 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.160 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:23:14.160 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.160 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.163 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.163 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.162 +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/23 09:23:14.171 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=317.97µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.176 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.176 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:23:14.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=28] ["take time"=2.078573ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.183 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.185 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:23:14.185 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.186 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.186 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:23:14.189 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.189 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.187 +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/23 09:23:14.196 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.199 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=252.362µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.201 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.201 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:23:14.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=29] ["take time"=2.099675ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.206 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.212 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:23:14.212 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.212 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.215 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.215 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.214 +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/23 09:23:14.223 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.226 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=373.929µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.227 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.227 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:23:14.227 +00:00] [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.045325ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.233 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.236 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:23:14.236 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.237 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.240 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.240 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.239 +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/23 09:23:14.248 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.252 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=340.572µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.253 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.253 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:23:14.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=31] ["take time"=4.128159ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.261 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.265 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:23:14.265 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.266 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.269 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.269 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.267 +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/23 09:23:14.278 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.283 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=556.431µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.284 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.284 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:23:14.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=32] ["take time"=4.915922ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.293 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.297 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:23:14.298 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.298 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.301 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.301 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.299 +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/23 09:23:14.309 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.312 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=196.811µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.313 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.313 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:23:14.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=33] ["take time"=2.468234ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.323 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.326 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:23:14.326 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.330 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.330 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:23:14.337 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.342 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=392.22µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:14.343 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.344 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:23:14.344 +00:00] [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.066072ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:14.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.349 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.357 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:23:14.357 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.358 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.361 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.361 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.36 +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/23 09:23:14.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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:23:14.371 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.377 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=350.961µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.378 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.378 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:23:14.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=35] ["take time"=2.009971ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.383 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.387 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:23:14.388 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.388 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.391 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.391 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.389 +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/23 09:23:14.399 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.402 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=283.109µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.404 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.404 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:23:14.407 +00:00] [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.68364ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.413 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.417 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:23:14.417 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.418 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.420 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.420 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.419 +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/23 09:23:14.430 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.433 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=269.409µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.435 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.435 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:23:14.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=37] ["take time"=4.827717ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.444 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.447 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:23:14.447 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.448 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.451 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.451 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.449 +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/23 09:23:14.459 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.464 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=630.202µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.466 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.466 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:23:14.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=38] ["take time"=4.150535ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.474 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.479 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:23:14.479 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.479 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.483 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.483 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.481 +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/23 09:23:14.491 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.495 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=473.811µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.497 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.497 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:23:14.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=39] ["take time"=4.737583ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.506 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.510 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:23:14.510 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.511 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.515 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.515 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.512 +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/23 09:23:14.525 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.530 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=536.681µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.531 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.531 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:23:14.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=40] ["take time"=4.723065ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.539 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.544 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:23:14.544 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.544 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.548 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.546 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.548 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.546 +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/23 09:23:14.555 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.546 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.560 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=607.174µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.562 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.562 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:23:14.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=41] ["take time"=9.002427ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.546 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.577 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.546 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.585 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:23:14.585 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.586 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.590 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.590 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.588 +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/23 09:23:14.599 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.604 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=615.047µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.606 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.606 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:23:14.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=42] ["take time"=7.164934ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.627 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.632 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:23:14.632 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.633 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.641 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.641 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.639 +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/23 09:23:14.648 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.652 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=399.813µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.654 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.654 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:23:14.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=43] ["take time"=4.336347ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.662 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.667 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:23:14.667 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.668 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.671 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.671 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.669 +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/23 09:23:14.679 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.683 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=339.63µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.684 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.684 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:23:14.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=44] ["take time"=2.581826ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.690 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.694 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:23:14.694 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.694 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.698 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.698 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.696 +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/23 09:23:14.709 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.712 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=303.852µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.714 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.714 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:23:14.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=45] ["take time"=4.012015ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.726 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.730 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:23:14.730 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.731 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.735 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.735 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.732 +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/23 09:23:14.744 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.751 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=700.545µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.753 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.753 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:23:14.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=46] ["take time"=5.184636ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.766 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.771 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:23:14.771 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.771 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.775 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.775 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.773 +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/23 09:23:14.785 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.789 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=294.736µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.791 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.791 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:23:14.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=47] ["take time"=4.030751ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.799 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.803 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:23:14.803 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.803 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.807 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.807 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.805 +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/23 09:23:14.820 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.824 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=293.213µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.825 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.825 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:23:14.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=48] ["take time"=2.459433ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.832 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.837 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:23:14.837 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.838 +00:00] [INFO] [session.go:3959] ["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/23 09:23:14.841 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.841 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.84 +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/23 09:23:14.851 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.855 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=376.577µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:14.857 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.857 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:23:14.860 +00:00] [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.742939ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:14.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.866 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.879 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:23:14.879 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.879 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:23:14.882 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.882 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:23:14.891 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.893 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=84.708µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:23:14.895 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.895 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:23:14.895 +00:00] [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.170485ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:14.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.902 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.905 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:23:14.905 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.909 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:14.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:14.909 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:14.908 +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/23 09:23:14.916 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:23:14.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.919 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=258.354µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:23:14.921 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:23:14.921 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:23:14.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=51] ["take time"=2.013838ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:23:14.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.925 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:23:14.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:14.929 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:23:14.929 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:14.967 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.604377508s] [2024/05/23 09:23:14.969 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=6fea6b28-b8d5-446d-a69d-c02af9b2c702] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:14.969 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:14.969 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 73, tp add index"] [category=ddl] ["take time"=3.19µs] [2024/05/23 09:23:14.969 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 74, tp add index"] [category=ddl] ["take time"=2.516µs] [2024/05/23 09:23:14.969 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 75, tp add index"] [category=ddl] ["take time"=2.634µs] [2024/05/23 09:23:14.969 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 72, tp add index"] [category=ddl] ["take time"=2.314µs] [2024/05/23 09:23:14.969 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:14.969 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 71, tp general"] [category=ddl] ["take time"=907ns] [2024/05/23 09:23:14.969 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:14.969 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:14.969 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:14.972 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=6fea6b28-b8d5-446d-a69d-c02af9b2c702] ["take time"=5.101214ms] [2024/05/23 09:23:14.972 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=6fea6b28-b8d5-446d-a69d-c02af9b2c702] [2024/05/23 09:23:14.973 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:14.973 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:14.973 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:14.973 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:14.973 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:14.973 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:14.973 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:14.973 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:14.973 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:14.973 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:14.973 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:14.973 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:14.973 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:14.973 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:14.973 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=5.309428ms] [2024/05/23 09:23:14.973 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=38d9801f-8882-4758-b1da-d781cd16a6c4] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/23 09:23:14.980 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:23:14.980 +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/23 09:23:15.011 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=30.667153ms] [2024/05/23 09:23:15.023 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:15.023 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=a0615c03-36bf-4b61-8349-9e0a9891d09d] [runWorker=true] [2024/05/23 09:23:15.024 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:23:15.024 +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/23 09:23:15.024 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:15.024 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:15.024 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:15.024 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:15.024 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:15.024 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:15.024 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:15.024 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:15.024 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:15.024 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:23:15.025 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:23:15.026 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:23:15.026 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:15.027 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:23:15.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:23:15.036 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:15.036 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:23:15.052 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:15.054 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:15.056 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:15.056 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:23:15.057 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:15.057 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:15.057 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:23:15.058 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:15.059 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:23:15.059 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:15.059 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:23:15.060 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:15.061 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:23:15.061 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:23:15.062 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=51] [cur_db=test] [sql="CREATE TABLE t (a int primary key nonclustered, b varchar(10));"] [user=] [2024/05/23 09:23:15.065 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:15.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:15.065 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:15.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t (a int primary key nonclustered, b varchar(10));"] [2024/05/23 09:23:15.077 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:23:15.077 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:23:15.085 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=15] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.087 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:23:15.103 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=15.677828ms] [2024/05/23 09:23:15.103 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:15.105 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:23:15.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=52] ["take time"=20.052252ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:15.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.112 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=15] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.116 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:23:15.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:15.116 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: TiDB is not in REPAIR MODE"] [errorVerbose="[ddl:8215]Failed to repair table: TiDB is not in REPAIR MODE\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).checkRepairTableGrammar\n\tpkg/planner/core/preprocess.go:1193\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Enter\n\tpkg/planner/core/preprocess.go:347\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2048\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:2094\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table t CREATE TABLE t (a float primary key, b varchar(5));"] [2024/05/23 09:23:15.116 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: repair list is empty"] [errorVerbose="[ddl:8215]Failed to repair table: repair list is empty\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).checkRepairTableGrammar\n\tpkg/planner/core/preprocess.go:1197\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Enter\n\tpkg/planner/core/preprocess.go:347\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2048\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:2094\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:52\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table t CREATE TABLE t (a float primary key, b varchar(5));"] [2024/05/23 09:23:15.117 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: database test is not in repair"] [errorVerbose="[ddl:8215]Failed to repair table: database test is not in repair\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).handleRepairName\n\tpkg/planner/core/preprocess.go:1622\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1563\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:597\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:452\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2053\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:2094\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:56\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table t CREATE TABLE t (a float primary key, b varchar(5));"] [2024/05/23 09:23:15.117 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=52] [cur_db=test] [sql="CREATE TABLE other_table (a int, b varchar(1), key using hash(b));"] [user=] [2024/05/23 09:23:15.119 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:15.119 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE other_table (a int, b varchar(1), key using hash(b));"] [2024/05/23 09:23:15.126 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=15] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.129 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=237.022µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:15.130 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/23 09:23:15.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=53] ["take time"=2.374789ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.136 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=15] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.138 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:23:15.138 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:15.139 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: table t is not in repair"] [errorVerbose="[ddl:8215]Failed to repair table: table t is not in repair\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).handleRepairName\n\tpkg/planner/core/preprocess.go:1626\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1563\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:597\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:452\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2053\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:2094\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:60\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table t CREATE TABLE t (a float primary key, b varchar(5));"] [2024/05/23 09:23:15.139 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[schema:1146]Table 'test.other_table' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.other_table' 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:2094\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:63\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="select * from other_table"] [2024/05/23 09:23:15.139 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[ddl:1103]Incorrect table name 'other_table'%!(EXTRA string=this table is in repair)"] [errorVerbose="[ddl:1103]Incorrect table name 'other_table'%!(EXTRA string=this table is in repair)\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).checkNotInRepair\n\tpkg/planner/core/preprocess.go:1609\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1556\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:597\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:452\ngithub.com/pingcap/tidb/pkg/parser/ast.(*CreateTableStmt).Accept\n\tpkg/parser/ast/ddl.go:1168\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:2094\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:66\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="CREATE TABLE other_table (a int);"] [2024/05/23 09:23:15.139 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:15.139 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=53] [error="[ddl:8215]Failed to repair table: Column c has lost"] [errorVerbose="[ddl:8215]Failed to repair table: Column c has lost\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).RepairTable\n\tpkg/ddl/ddl_api.go:8506\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRepairTable\n\tpkg/executor/ddl.go:734\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:199\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 15,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:15.140 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:15.140 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=53] [error="[ddl:8215]Failed to repair table: Column a type should be the same"] [errorVerbose="[ddl:8215]Failed to repair table: Column a type should be the same\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).RepairTable\n\tpkg/ddl/ddl_api.go:8509\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRepairTable\n\tpkg/executor/ddl.go:734\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:199\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:72\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 15,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:15.141 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:15.141 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=53] [error="[ddl:8215]Failed to repair table: Index a has lost"] [errorVerbose="[ddl:8215]Failed to repair table: Index a has lost\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).RepairTable\n\tpkg/ddl/ddl_api.go:8520\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRepairTable\n\tpkg/executor/ddl.go:734\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:199\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:75\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 15,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:15.141 +00:00] [WARN] [ddl_api.go:8512] ["admin repair table : Column b flen is not equal to the old one"] [category=ddl] [2024/05/23 09:23:15.141 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:23:15.141 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=53] [error="[ddl:8215]Failed to repair table: Index b type should be the same"] [errorVerbose="[ddl:8215]Failed to repair table: Index b type should be the same\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).RepairTable\n\tpkg/ddl/ddl_api.go:8523\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRepairTable\n\tpkg/executor/ddl.go:734\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:199\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:78\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 15,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:23:15.144 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:15.144 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:108, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="admin repair table other_table CREATE TABLE other_table (a int);"] [2024/05/23 09:23:15.149 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=108] [conn=15] [category=ddl] [job="ID:108, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.152 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=172.274µs] [gotSchemaVersion=54] [phyTblIDs="[106]"] [actionTypes="[29]"] [diffTypes="[\"repair table\"]"] [2024/05/23 09:23:15.153 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=54] [2024/05/23 09:23:15.155 +00:00] [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.898289ms] [job="ID:108, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.161 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=108] [conn=15] [job="ID:108, Type:repair table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.163 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/23 09:23:15.163 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:15.164 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=54] [cur_db=test] [sql="CREATE TABLE otHer_tAblE2 (a int, b varchar(1));"] [user=] [2024/05/23 09:23:15.167 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:23:15.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:15.167 +00:00] [INFO] [ddl.go:1210] ["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-23 09:23:15.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE otHer_tAblE2 (a int, b varchar(1));"] [2024/05/23 09:23:15.174 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=15] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.176 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=212.114µs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:15.178 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55] [2024/05/23 09:23:15.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=55] ["take time"=2.016394ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:15.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.186 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=15] [job="ID:110, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.190 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/23 09:23:15.190 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:15.190 +00:00] [WARN] [ddl_api.go:8512] ["admin repair table : Column b flen is not equal to the old one"] [category=ddl] [2024/05/23 09:23:15.192 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:15.192 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="admin repair table otHer_tAblE2 CREATE TABLE otHeR_tAbLe (a int, b varchar(2));"] [2024/05/23 09:23:15.200 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=111] [conn=15] [category=ddl] [job="ID:111, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.202 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=183.554µs] [gotSchemaVersion=56] [phyTblIDs="[109]"] [actionTypes="[29]"] [diffTypes="[\"repair table\"]"] [2024/05/23 09:23:15.204 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=56] [2024/05/23 09:23:15.204 +00:00] [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.071881ms] [job="ID:111, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.209 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=111] [conn=15] [job="ID:111, Type:repair table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.212 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/23 09:23:15.212 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:15.213 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: memory or system database is not for repair"] [errorVerbose="[ddl:8215]Failed to repair table: memory or system database is not for repair\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).handleRepairName\n\tpkg/planner/core/preprocess.go:1616\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1563\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:597\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:452\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2053\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:2094\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:94\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table performance_schema.xxx CREATE TABLE yyy (a int);"] [2024/05/23 09:23:15.213 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=56] [cur_db=test] [sql="CREATE TABLE origin (a int primary key nonclustered auto_increment, b varchar(10), c int);"] [user=] [2024/05/23 09:23:15.216 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:15.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:15.216 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:15.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE origin (a int primary key nonclustered auto_increment, b varchar(10), c int);"] [2024/05/23 09:23:15.223 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=113] [conn=15] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.227 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=220.847µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:23:15.228 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=57] [2024/05/23 09:23:15.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=57] ["take time"=2.96382ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:23:15.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.237 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=113] [conn=15] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.240 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/23 09:23:15.240 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:15.240 +00:00] [WARN] [ddl_api.go:8512] ["admin repair table : Column b flen is not equal to the old one"] [category=ddl] [2024/05/23 09:23:15.242 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:23:15.243 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="admin repair table origin CREATE TABLE origin (a int primary key nonclustered auto_increment, b varchar(5), c int);"] [2024/05/23 09:23:15.249 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.253 +00:00] [INFO] [set.go:170] ["set global var"] [conn=16] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:23:15.254 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[schema:1146]Table 'test.origin' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.origin' 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:2094\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable.func2\n\tpkg/ddl/repair_table_test.go:121\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:960\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:462\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"] [SQL="select * from origin"] [2024/05/23 09:23:15.254 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=15] [category=ddl] [job="ID:114, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.255 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.260 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:23:15.290 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=30.23226ms] [2024/05/23 09:23:15.299 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:23:15.301 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2024/05/23 09:23:15.302 +00:00] [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"=42.568134ms] [job="ID:114, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.303 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-23 09:23:15.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.308 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=15] [job="ID:114, Type:repair table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:23:15.311 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/23 09:23:15.311 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:23:15.311 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:repair table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:23:15.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] util.go:36: Error Trace: pkg/testkit/external/util.go:36 pkg/ddl/repair_table_test.go:137 Error: Received unexpected error: [schema:1146]Table 'test.origin' doesn't exist Test: TestRepairTable [2024/05/23 09:23:15.315 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a0615c03-36bf-4b61-8349-9e0a9891d09d] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:23:15.315 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:15.316 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 79, tp add index"] [category=ddl] ["take time"=2.03µs] [2024/05/23 09:23:15.316 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 80, tp add index"] [category=ddl] ["take time"=1.178µs] [2024/05/23 09:23:15.316 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 77, tp add index"] [category=ddl] ["take time"=1.088µs] [2024/05/23 09:23:15.316 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 78, tp add index"] [category=ddl] ["take time"=1.187µs] [2024/05/23 09:23:15.316 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:15.316 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 76, tp general"] [category=ddl] ["take time"=898ns] [2024/05/23 09:23:15.316 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:23:15.316 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:23:15.316 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:23:15.316 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=a0615c03-36bf-4b61-8349-9e0a9891d09d] ["take time"=4.712509ms] [2024/05/23 09:23:15.316 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=a0615c03-36bf-4b61-8349-9e0a9891d09d] [2024/05/23 09:23:15.316 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:23:15.316 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:15.316 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:15.316 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:15.316 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:15.316 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:23:15.316 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:23:15.316 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:15.316 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:15.316 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:15.316 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:23:15.317 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:23:15.317 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:23:15.317 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:23:15.317 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a0615c03-36bf-4b61-8349-9e0a9891d09d] [ownerKey=/tidb/stats/owner] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a0615c03-36bf-4b61-8349-9e0a9891d09d] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:23:15.317 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:23:15.317 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:23:15.318 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.27805ms] [2024/05/23 09:23:15.319 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:23:15.319 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:23:15.319 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:23:15.319 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:23:15.319 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:23:15.319 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestRepairTable (2.02s) FAIL coverage: 12.0% 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/11637/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/ddl_test_/ddl_test.runfiles/__main__/pkg/ddl/ddl_test_/ddl_test ================================================================================ [12,634 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 73s remote-cache, linux-sandbox ... (70 actions running) [12,638 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 74s remote-cache, linux-sandbox ... (69 actions running) [12,644 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 76s remote-cache, linux-sandbox ... (70 actions running) [12,648 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,649 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,655 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,658 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,663 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [12,664 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,667 / 13,343] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,673 / 13,352] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,674 / 13,352] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 87s remote-cache, linux-sandbox ... (70 actions running) [12,679 / 13,352] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 88s remote-cache, linux-sandbox ... (70 actions running) [12,684 / 13,352] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,689 / 13,352] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,692 / 13,352] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,696 / 13,352] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 93s remote-cache, linux-sandbox ... (70 actions running) [12,700 / 13,352] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 94s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,704 / 13,352] 277 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 95s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,708 / 13,352] 278 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 96s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,711 / 13,352] 278 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 97s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,717 / 13,352] 278 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 99s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,721 / 13,352] 278 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 100s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,725 / 13,352] 278 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 101s remote-cache, linux-sandbox ... (70 actions running) [12,725 / 13,352] 278 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 102s remote-cache, linux-sandbox ... (70 actions running) [12,729 / 13,354] 278 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 104s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,738 / 13,354] 278 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 105s remote-cache, linux-sandbox ... (70 actions running) [12,746 / 13,354] 279 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 106s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,750 / 13,354] 279 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 107s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,757 / 13,354] 280 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 109s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,762 / 13,354] 280 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 110s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,765 / 13,354] 280 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 111s remote-cache, linux-sandbox ... (70 actions running) [12,769 / 13,354] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 112s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,770 / 13,354] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 114s remote-cache, linux-sandbox ... (70 actions running) [12,770 / 13,354] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 115s remote-cache, linux-sandbox ... (70 actions running) [12,773 / 13,354] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 117s remote-cache, linux-sandbox ... (70 actions running) [12,777 / 13,369] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 118s remote-cache, linux-sandbox ... (70 actions running) [12,780 / 13,369] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 119s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,784 / 13,382] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 120s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,787 / 13,382] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 122s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,790 / 13,411] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 123s remote-cache, linux-sandbox ... (70 actions running) [12,794 / 13,448] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 124s remote-cache, linux-sandbox ... (70 actions running) [12,795 / 13,448] 281 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 125s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,798 / 13,448] 282 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 126s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,799 / 13,448] 283 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 127s remote-cache, linux-sandbox ... (70 actions running) [12,805 / 13,448] 283 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 128s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,806 / 13,448] 283 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 130s remote-cache, linux-sandbox ... (70 actions running) [12,811 / 13,448] 283 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 131s remote-cache, linux-sandbox ... (70 actions running) [12,816 / 13,457] 283 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 132s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,820 / 13,457] 284 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 133s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,828 / 13,457] 285 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 3 of 8); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,830 / 13,457] 285 / 415 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 3 of 8); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,834 / 13,457] 285 / 415 tests; Testing //pkg/store:store_test (shard 2 of 23); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,838 / 13,457] 285 / 415 tests; Testing //pkg/store:store_test (shard 2 of 23); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,842 / 13,457] 287 / 415 tests; Testing //pkg/store:store_test (shard 2 of 23); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,846 / 13,457] 287 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 1 of 19); 32s remote-cache, linux-sandbox ... (70 actions running) [12,855 / 13,494] 287 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 1 of 19); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,859 / 13,494] 287 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 1 of 19); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,865 / 13,494] 287 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 1 of 19); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,868 / 13,494] 287 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 1 of 19); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,870 / 13,494] 287 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 1 of 19); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,878 / 13,494] 287 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 33); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,883 / 13,494] 288 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 6 of 20); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,889 / 13,498] 289 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 16 of 20); 31s remote-cache, linux-sandbox ... (70 actions running) [12,895 / 13,531] 289 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 16 of 20); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,899 / 13,531] 289 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 16 of 20); 34s remote-cache, linux-sandbox ... (70 actions running) [12,904 / 13,531] 289 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 8 of 28); 32s remote-cache, linux-sandbox ... (69 actions running) [12,910 / 13,531] 289 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 8 of 20); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,916 / 13,551] 289 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 8 of 20); 32s remote-cache, linux-sandbox ... (70 actions running) [12,919 / 13,551] 289 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 8 of 20); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,923 / 13,551] 289 / 415 tests; Testing //pkg/executor/test/loaddatatest:loaddatatest_test (shard 3 of 11); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,925 / 13,551] 289 / 415 tests; Testing //pkg/executor/test/loaddatatest:loaddatatest_test (shard 3 of 11); 34s remote-cache, linux-sandbox ... (70 actions running) [12,929 / 13,551] 289 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 9 of 20); 33s remote-cache, linux-sandbox ... (70 actions running) [12,933 / 13,602] 289 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 9 of 20); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,936 / 13,602] 289 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 2 of 19); 35s remote-cache, linux-sandbox ... (70 actions running) [12,937 / 13,602] 289 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 2 of 19); 36s remote-cache, linux-sandbox ... (70 actions running) [12,941 / 13,602] 289 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 17 of 19); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,946 / 13,602] 289 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 17 of 19); 37s remote-cache, linux-sandbox ... (70 actions running) [12,949 / 13,602] 289 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 17 of 19); 38s remote-cache, linux-sandbox ... (70 actions running) [12,950 / 13,602] 289 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 10 of 20); 34s remote-cache, linux-sandbox ... (70 actions running) [12,954 / 13,604] 290 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 10 of 20); 35s remote-cache, linux-sandbox ... (70 actions running) [12,960 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,963 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 35s remote-cache, linux-sandbox ... (70 actions running) [12,963 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 36s remote-cache, linux-sandbox ... (70 actions running) [12,966 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 37s remote-cache, linux-sandbox ... (70 actions running) [12,968 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,971 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,975 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,977 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,981 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 43s remote-cache, linux-sandbox ... (70 actions running) [12,985 / 13,655] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,991 / 13,686] 290 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,996 / 13,686] 291 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,001 / 13,686] 291 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,005 / 13,686] 291 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,012 / 13,686] 291 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 42s remote-cache, linux-sandbox ... (70 actions running) [13,015 / 13,686] 291 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 43s remote-cache, linux-sandbox ... (70 actions running) [13,022 / 13,686] 292 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,024 / 13,686] 292 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,024 / 13,686] 292 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 47s remote-cache, linux-sandbox ... (70 actions running) [13,027 / 13,686] 294 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 48s remote-cache, linux-sandbox ... (70 actions running) [13,035 / 13,690] 295 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,043 / 13,690] 296 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,049 / 13,692] 296 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,055 / 13,694] 296 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,058 / 13,694] 296 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,068 / 13,694] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 55s remote-cache, linux-sandbox ... (70 actions running) [13,074 / 13,694] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 56s remote-cache, linux-sandbox ... (70 actions running) [13,080 / 13,704] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,081 / 13,704] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,087 / 13,704] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,089 / 13,704] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,094 / 13,706] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,098 / 13,749] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 62s remote-cache, linux-sandbox ... (67 actions, 66 running) [13,102 / 13,753] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 64s remote-cache, linux-sandbox ... (70 actions running) [13,104 / 13,753] 298 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 65s remote-cache, linux-sandbox ... (70 actions running) [13,108 / 13,753] 299 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 67s remote-cache, linux-sandbox ... (70 actions running) [13,113 / 13,757] 299 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 68s remote-cache, linux-sandbox ... (70 actions running) [13,113 / 13,757] 299 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 70s remote-cache, linux-sandbox ... (70 actions running) [13,122 / 13,757] 300 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 71s remote-cache, linux-sandbox ... (70 actions running) [13,131 / 13,759] 301 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,138 / 13,759] 301 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,142 / 13,759] 301 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 75s remote-cache, linux-sandbox ... (70 actions running) [13,147 / 13,759] 301 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 76s remote-cache, linux-sandbox ... (69 actions running) [13,150 / 13,759] 302 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 77s remote-cache, linux-sandbox ... (69 actions running) [13,153 / 13,759] 302 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,158 / 13,761] 302 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,158 / 13,761] 303 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 80s remote-cache, linux-sandbox ... (70 actions running) [13,164 / 13,761] 305 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 81s remote-cache, linux-sandbox ... (70 actions running) [13,167 / 13,761] 305 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 83s remote-cache, linux-sandbox ... (70 actions running) [13,167 / 13,761] 305 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 84s remote-cache, linux-sandbox ... (70 actions running) [13,173 / 13,761] 305 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 85s remote-cache, linux-sandbox ... (70 actions running) [13,173 / 13,761] 305 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 86s remote-cache, linux-sandbox ... (70 actions running) [13,179 / 13,769] 305 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,188 / 13,771] 305 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,190 / 13,771] 305 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,197 / 13,771] 305 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 91s remote-cache, linux-sandbox ... (70 actions running) [13,204 / 13,771] 305 / 415 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,212 / 13,771] 306 / 415 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,219 / 13,771] 306 / 415 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,224 / 13,775] 307 / 415 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 45s remote-cache, linux-sandbox ... (70 actions running) [13,235 / 13,775] 307 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 43s remote-cache, linux-sandbox ... (69 actions, 67 running) [13,240 / 13,775] 308 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 18 of 28); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,242 / 13,775] 308 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 18 of 28); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,242 / 13,775] 308 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 18 of 28); 45s remote-cache, linux-sandbox ... (69 actions running) [13,255 / 13,775] 310 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 40s remote-cache, linux-sandbox ... (70 actions running) [13,261 / 13,795] 311 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,265 / 13,795] 312 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,270 / 13,804] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 44s remote-cache, linux-sandbox ... (70 actions running) [13,277 / 13,804] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,279 / 13,813] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,283 / 13,813] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,286 / 13,813] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,287 / 13,813] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 50s remote-cache, linux-sandbox ... (70 actions running) [13,291 / 13,813] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,294 / 13,813] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 53s remote-cache, linux-sandbox ... (70 actions running) [13,296 / 13,813] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,298 / 13,815] 313 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,304 / 13,815] 314 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,310 / 13,822] 315 / 415 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 5 of 17); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,312 / 13,822] 315 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 48s remote-cache, linux-sandbox ... (70 actions running) [13,314 / 13,822] 316 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 49s remote-cache, linux-sandbox ... (70 actions running) [13,316 / 13,822] 316 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,318 / 13,822] 316 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 52s remote-cache, linux-sandbox ... (70 actions running) [13,321 / 13,822] 316 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 53s remote-cache, linux-sandbox ... (70 actions running) [13,321 / 13,822] 317 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 55s remote-cache, linux-sandbox ... (70 actions running) [13,325 / 13,822] 317 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 56s remote-cache, linux-sandbox ... (70 actions running) [13,327 / 13,822] 317 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 57s remote-cache, linux-sandbox ... (70 actions running) [13,329 / 13,822] 317 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,330 / 13,822] 317 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 60s remote-cache, linux-sandbox ... (70 actions running) [13,337 / 13,831] 317 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 61s remote-cache, linux-sandbox ... (70 actions running) [13,337 / 13,831] 317 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 63s remote-cache, linux-sandbox ... (70 actions running) [13,342 / 13,831] 317 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,344 / 13,831] 318 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 66s remote-cache, linux-sandbox ... (70 actions running) [13,347 / 13,831] 318 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,353 / 13,831] 320 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 69s remote-cache, linux-sandbox ... (70 actions running) [13,358 / 13,831] 320 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,362 / 13,831] 320 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,365 / 13,831] 321 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 73s remote-cache, linux-sandbox ... (70 actions running) [13,368 / 13,831] 321 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,369 / 13,831] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 76s remote-cache, linux-sandbox ... (70 actions running) [13,370 / 13,831] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 77s remote-cache, linux-sandbox ... (70 actions running) [13,375 / 13,831] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 79s remote-cache, linux-sandbox ... (70 actions running) [13,375 / 13,831] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 80s remote-cache, linux-sandbox ... (70 actions running) [13,380 / 13,852] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,382 / 13,852] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,385 / 13,854] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 84s remote-cache, linux-sandbox ... (69 actions running) [13,388 / 13,854] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,391 / 13,858] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,395 / 13,858] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 87s remote-cache, linux-sandbox ... (70 actions running) [13,398 / 13,858] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 88s remote-cache, linux-sandbox ... (70 actions running) [13,399 / 13,858] 322 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,403 / 13,858] 323 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,409 / 13,868] 323 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,410 / 13,868] 324 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 93s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,416 / 13,868] 325 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 94s remote-cache, linux-sandbox ... (70 actions running) [13,416 / 13,868] 325 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 95s remote-cache, linux-sandbox ... (70 actions running) [13,421 / 13,868] 325 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 96s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,422 / 13,868] 325 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 98s remote-cache, linux-sandbox ... (70 actions running) [13,425 / 13,886] 326 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,428 / 13,886] 326 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,429 / 13,886] 326 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 73s remote-cache, linux-sandbox ... (70 actions running) [13,431 / 13,888] 326 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,435 / 13,888] 326 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,440 / 13,895] 326 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,443 / 13,895] 327 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 58s remote-cache, linux-sandbox ... (70 actions running) [13,444 / 13,895] 327 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 59s remote-cache, linux-sandbox ... (70 actions running) [13,448 / 13,895] 327 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,453 / 13,901] 327 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,457 / 13,901] 327 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 63s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,460 / 13,903] 327 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 64s remote-cache, linux-sandbox ... (70 actions running) [13,463 / 13,903] 328 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 65s remote-cache, linux-sandbox ... (70 actions running) [13,465 / 13,903] 328 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,466 / 13,903] 328 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,466 / 13,903] 328 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 69s remote-cache, linux-sandbox ... (70 actions running) [13,473 / 13,903] 329 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 70s remote-cache, linux-sandbox ... (70 actions running) [13,475 / 13,903] 329 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,479 / 13,903] 330 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 73s remote-cache, linux-sandbox ... (70 actions running) [13,481 / 13,903] 330 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 74s remote-cache, linux-sandbox ... (70 actions running) [13,485 / 13,903] 330 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 75s remote-cache, linux-sandbox ... (70 actions running) [13,488 / 13,903] 330 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,489 / 13,903] 330 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,494 / 13,903] 330 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,499 / 13,903] 330 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 80s remote-cache, linux-sandbox ... (70 actions running) [13,504 / 13,903] 331 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 81s remote-cache, linux-sandbox ... (70 actions running) [13,509 / 13,903] 331 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 82s remote-cache, linux-sandbox ... (70 actions running) [13,513 / 13,910] 331 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 83s remote-cache, linux-sandbox ... (70 actions running) [13,515 / 13,910] 331 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,517 / 13,910] 331 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,522 / 13,910] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,524 / 13,910] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 52s remote-cache, linux-sandbox ... (70 actions running) [13,524 / 13,910] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 53s remote-cache, linux-sandbox ... (70 actions running) [13,529 / 13,910] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,534 / 13,910] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 56s remote-cache, linux-sandbox ... (70 actions running) [13,536 / 13,910] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 57s remote-cache, linux-sandbox ... (70 actions running) [13,542 / 13,910] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,552 / 13,940] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,555 / 13,940] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,560 / 13,940] 333 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,571 / 13,940] 334 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 63s remote-cache, linux-sandbox ... (70 actions running) [13,576 / 13,940] 335 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 64s remote-cache, linux-sandbox ... (69 actions running) [13,581 / 13,940] 336 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,588 / 13,942] 336 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,592 / 13,942] 336 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 67s remote-cache, linux-sandbox ... (70 actions running) [13,593 / 13,942] 337 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 69s remote-cache, linux-sandbox ... (70 actions running) [13,595 / 13,942] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 70s remote-cache, linux-sandbox ... (70 actions running) [13,597 / 13,942] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 71s remote-cache, linux-sandbox ... (70 actions running) [13,599 / 13,942] 339 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 73s remote-cache, linux-sandbox ... (70 actions running) [13,605 / 13,944] 339 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,613 / 13,964] 339 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,620 / 14,010] 340 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 76s remote-cache, linux-sandbox ... (70 actions running) [13,630 / 14,018] 341 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 1 of 5); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,639 / 14,073] 342 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 1 of 5); 33s remote-cache, linux-sandbox ... (70 actions running) [13,642 / 14,073] 342 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 1 of 5); 34s remote-cache, linux-sandbox ... (70 actions running) [13,648 / 14,086] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,649 / 14,086] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 36s remote-cache, linux-sandbox ... (70 actions running) [13,650 / 14,086] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 38s remote-cache, linux-sandbox ... (70 actions running) [13,652 / 14,086] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,662 / 14,096] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 41s remote-cache, linux-sandbox ... (70 actions running) [13,663 / 14,096] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,670 / 14,160] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,672 / 14,160] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,683 / 14,211] 343 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 36s remote-cache, linux-sandbox ... (70 actions running) [13,684 / 14,211] 343 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 37s remote-cache, linux-sandbox ... (70 actions running) [13,688 / 14,211] 343 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,690 / 14,211] 343 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,697 / 14,211] 343 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,702 / 14,211] 343 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,702 / 14,211] 343 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 43s remote-cache, linux-sandbox ... (70 actions running) [13,702 / 14,211] 343 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 45s remote-cache, linux-sandbox ... (70 actions running) [13,717 / 14,211] 344 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 46s remote-cache, linux-sandbox ... (70 actions running) FAIL: //pkg/session/test/txn:txn_test (shard 4 of 8) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_4_of_8/test_attempts/attempt_1.log) [13,717 / 14,211] 344 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 47s remote-cache, linux-sandbox ... (70 actions running) [13,720 / 14,211] 344 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,721 / 14,211] 344 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,731 / 14,262] 345 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,739 / 14,262] 345 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,741 / 14,262] 345 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 53s remote-cache, linux-sandbox ... (70 actions running) [13,743 / 14,262] 346 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,753 / 14,262] 346 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,756 / 14,262] 346 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 57s remote-cache, linux-sandbox ... (70 actions running) [13,757 / 14,262] 346 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 58s remote-cache, linux-sandbox ... (70 actions running) [13,758 / 14,262] 346 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,767 / 14,262] 347 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,775 / 14,288] 347 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,777 / 14,288] 347 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 63s remote-cache, linux-sandbox ... (70 actions running) [13,784 / 14,288] 347 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,791 / 14,310] 347 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,791 / 14,310] 348 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [13,795 / 14,312] 348 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,808 / 14,312] 348 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,812 / 14,312] 348 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [13,817 / 14,312] 348 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [13,817 / 14,312] 348 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [13,819 / 14,312] 349 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,839 / 14,321] 349 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,843 / 14,321] 350 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [13,846 / 14,321] 350 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 54s remote-cache, linux-sandbox ... (70 actions running) [13,851 / 14,321] 351 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 4 of 8); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,870 / 14,348] 352 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 4 of 8); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,872 / 14,348] 352 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 4 of 8); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,875 / 14,348] 352 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 4 of 8); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) FLAKY: //pkg/session/test/txn:txn_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_4_of_8/test_attempts/attempt_1.log INFO: From Testing //pkg/session/test/txn:txn_test (shard 4 of 8): ==================== Test output for //pkg/session/test/txn:txn_test (shard 4 of 8): === RUN TestAutoCommitRespectsReadOnly [2024/05/23 09:28:48.543 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:28:48.547 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:28:48.547 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:28:48.556 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:28:48.556 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:28:48.562 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:28:48.584 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=03dd980b-cc4b-4473-bea3-292373ca938d] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:28:48.953 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:28:48.954 +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/23 09:28:48.955 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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/session/test/txn/txn_test.TestAutoCommitRespectsReadOnly\n\tpkg/session/test/txn/txn_test.go:284\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:28:48.983 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=27.225465ms] [2024/05/23 09:28:48.987 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:28:48.987 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=07fab970-1b26-41c9-a1f6-f952f45730cc] [runWorker=true] [2024/05/23 09:28:48.987 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:28:48.987 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:28:48.987 +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/23 09:28:48.987 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:28:48.987 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:28:48.987 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:28:48.988 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:28:48.988 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:28:48.988 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:28:48.988 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:28:48.988 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:28:48.988 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:28:48.988 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:28:48.988 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:28:48.988 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:28:48.988 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:28:48.988 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:28:48.994 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:28:49.024 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:49.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:49.024 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:49.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:28:49.076 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:49.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:49.135 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=35.922177ms] [2024/05/23 09:28:49.141 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:28:49.155 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:49.155 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:28:49.155 +00:00] [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"=56.976363ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:28:49.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:49.251 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:49.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:49.280 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:28:49.280 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:49.283 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:28:49.311 +00:00] [INFO] [session.go:3959] ["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/23 09:28:49.562 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:49.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:49.562 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:49.325 +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/23 09:28:49.630 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:49.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:49.993 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:28:50.050 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=9.451427ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:50.062 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:50.062 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:28:50.064 +00:00] [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"=24.099415ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:49.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:50.117 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:49.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:50.416 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:28:50.416 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:50.417 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.118407044\n# Parse_time: 0\n# Compile_time: 0.011884921\n# Rewrite_time: 0.000008908\n# Optimize_time: 0\n# Wait_TS: 0.00010864\n# DB: mysql\n# Is_internal: true\n# Digest: 1dcdddcae0fb6a3fa29440fed26e29fecfb2c265d457dd4657cef0ce99abd274\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse mysql;\n;"] [2024/05/23 09:28:50.424 +00:00] [INFO] [session.go:3959] ["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/23 09:28:50.478 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:50.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:50.478 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:50.435 +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/23 09:28:50.522 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:50.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:50.598 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.308855ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:50.609 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:50.610 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:28:50.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=3] ["take time"=17.127048ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:50.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:50.692 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:50.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:50.747 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:28:50.747 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:50.749 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.327901364\n# Parse_time: 0\n# Compile_time: 0.003256764\n# Rewrite_time: 0.000009586\n# Optimize_time: 0\n# Wait_TS: 0.000101808\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:50.753 +00:00] [INFO] [session.go:3959] ["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/23 09:28:50.801 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:50.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:50.801 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:50.765 +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/23 09:28:50.867 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:50.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:50.945 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.336882ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:50.958 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:50.959 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:28:50.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=4] ["take time"=18.261309ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:50.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:50.988 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/23 09:28:51.005 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:50.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:51.065 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:28:51.065 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:51.067 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.315160155\n# Parse_time: 0\n# Compile_time: 0.001887722\n# Rewrite_time: 0.000012143\n# Optimize_time: 0\n# Wait_TS: 0.000113063\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Warnings: [{\"Level\":\"Warning\",\"Message\":\"BLOB/TEXT/JSON column 'Priv' can't have a default value\"}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:51.086 +00:00] [INFO] [session.go:3959] ["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/23 09:28:51.231 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:51.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:51.231 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:51.103 +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/23 09:28:51.309 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:51.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:51.554 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=6.177161ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:51.566 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:51.566 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:28:51.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=5] ["take time"=20.04632ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:51.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:51.617 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:51.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:51.775 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:28:51.775 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:51.777 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.697834131\n# Parse_time: 0\n# Compile_time: 0.006969132\n# Rewrite_time: 0.000014669\n# Optimize_time: 0\n# Wait_TS: 0.000127351\n# DB: mysql\n# Is_internal: true\n# Digest: e02ee30435ff06e52f357a0a68828973f373118f7009cbdfbeb747a4e7d91418\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:51.784 +00:00] [INFO] [session.go:3959] ["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/23 09:28:51.861 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:51.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:51.861 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:51.797 +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/23 09:28:51.943 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:51.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:52.076 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.350442ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:52.089 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:52.089 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:28:52.090 +00:00] [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"=18.38921ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:51.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:52.194 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:51.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:52.277 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:28:52.278 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:52.279 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.498445789\n# Parse_time: 0\n# Compile_time: 0.003327357\n# Rewrite_time: 0.000012339\n# Optimize_time: 0\n# Wait_TS: 0.000139888\n# DB: mysql\n# Is_internal: true\n# Digest: 5759132672d59a4de3b27e6fbbd8f039e7489d9187962651ede26b9390589e5c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:52.288 +00:00] [INFO] [session.go:3959] ["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/23 09:28:52.360 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:52.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:52.360 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:52.302 +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/23 09:28:52.459 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:52.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:52.587 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=2.841585ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:52.600 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:52.600 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:28:52.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=7] ["take time"=18.464885ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:52.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:52.697 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:52.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:52.772 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:28:52.772 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:52.774 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.490439101\n# Parse_time: 0\n# Compile_time: 0.00450495\n# Rewrite_time: 0.000012783\n# Optimize_time: 0\n# Wait_TS: 0.000128647\n# DB: mysql\n# Is_internal: true\n# Digest: 36f214f75d4d00ba6ac1ac7b8c95c01ec9574a40c07a536b2afe7a72144551b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:52.778 +00:00] [INFO] [session.go:3959] ["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/23 09:28:52.822 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:52.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:52.823 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:52.793 +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/23 09:28:52.934 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:52.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:52.990 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=2.02521ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:53.005 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:53.006 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:28:53.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=8] ["take time"=18.252846ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:52.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:53.092 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:52.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:53.142 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:28:53.142 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:53.144 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.367167847\n# Parse_time: 0\n# Compile_time: 0.001830834\n# Rewrite_time: 0.000016732\n# Optimize_time: 0\n# Wait_TS: 0.00015624\n# DB: mysql\n# Is_internal: true\n# Digest: 1b59564c29970a0a8880792322e02b7df09888f7d0a2dfc190f3ed0ff12369d4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:53.149 +00:00] [INFO] [session.go:3959] ["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/23 09:28:53.198 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:53.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:53.198 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:53.161 +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/23 09:28:53.260 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:53.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:53.341 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=1.96775ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:53.354 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:53.354 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:28:53.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=9] ["take time"=18.443627ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:53.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:53.456 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:53.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:53.535 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:28:53.535 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:53.537 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.391661445\n# Parse_time: 0\n# Compile_time: 0.003778543\n# Rewrite_time: 0.000010937\n# Optimize_time: 0\n# Wait_TS: 0.000111008\n# DB: mysql\n# Is_internal: true\n# Digest: ade124588c0253b12ce82702300a98a0ff778787142ce450039efbd6347664dc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:53.546 +00:00] [INFO] [session.go:3959] ["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/23 09:28:53.607 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:53.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:53.607 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:53.559 +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/23 09:28:53.672 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:53.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:53.822 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.603374ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:53.836 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:53.836 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:28:53.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=10] ["take time"=18.115885ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:53.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:53.892 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:53.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:54.007 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:28:54.008 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:54.009 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.46702417\n# Parse_time: 0\n# Compile_time: 0.003627579\n# Rewrite_time: 0.000019729\n# Optimize_time: 0\n# Wait_TS: 0.000205939\n# DB: mysql\n# Is_internal: true\n# Digest: be740d9d66f07e7842e3b48027d6fb3ef54623295384e63dcbf3e1c8a9f15c10\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:54.016 +00:00] [INFO] [session.go:3959] ["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/23 09:28:54.076 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:54.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:54.077 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:54.029 +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/23 09:28:54.155 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:54.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:54.262 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.612741ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:54.277 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:54.277 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:28:54.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=11] ["take time"=25.341279ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:54.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:54.371 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:54.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:54.439 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:28:54.440 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:54.441 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.428073244\n# Parse_time: 0\n# Compile_time: 0.002820478\n# Rewrite_time: 0.000011706\n# Optimize_time: 0\n# Wait_TS: 0.000123356\n# DB: mysql\n# Is_internal: true\n# Digest: 2db2929397c955d277d1b5400209b98787aa0797f979b9c213e3924c27b82ea9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:54.450 +00:00] [INFO] [session.go:3959] ["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/23 09:28:54.452 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:28:54.579 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:54.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:54.579 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:54.462 +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/23 09:28:54.636 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:54.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:54.789 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.071102ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:54.801 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:54.801 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:28:54.803 +00:00] [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"=18.570372ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:54.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:54.882 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:54.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:54.977 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:28:54.977 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:54.979 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.533045385\n# Parse_time: 0\n# Compile_time: 0.004426263\n# Rewrite_time: 0.000012147\n# Optimize_time: 0\n# Wait_TS: 0.000109157\n# DB: mysql\n# Is_internal: true\n# Digest: e038e634a5f1b7e5429d1252be7edf0ffb0922e8636032b9c68fd59f0484f6ef\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:54.989 +00:00] [INFO] [session.go:3959] ["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/23 09:28:55.060 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:55.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:55.060 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:55.002 +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/23 09:28:55.134 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:55.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:55.275 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=2.608843ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:55.287 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:55.288 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:28:55.290 +00:00] [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"=18.34008ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:55.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:55.379 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:55.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:55.448 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:28:55.448 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:55.450 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.464932904\n# Parse_time: 0\n# Compile_time: 0.00401698\n# Rewrite_time: 0.000009669\n# Optimize_time: 0\n# Wait_TS: 0.000115175\n# DB: mysql\n# Is_internal: true\n# Digest: 84a28596914df45e10de865c11a515d8595f2c38a422f5c8d8fb86a470ba5cad\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:55.456 +00:00] [INFO] [session.go:3959] ["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/23 09:28:55.509 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:55.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:55.509 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:55.468 +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/23 09:28:55.584 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:55.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:55.677 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.414455ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:55.690 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:55.690 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:28:55.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=14] ["take time"=16.316955ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:55.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:55.781 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:55.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:55.840 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:28:55.840 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:55.842 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.387991883\n# Parse_time: 0\n# Compile_time: 0.003119733\n# Rewrite_time: 0.000012556\n# Optimize_time: 0\n# Wait_TS: 0.000141612\n# DB: mysql\n# Is_internal: true\n# Digest: 4407fc98c36858aed19a41d8ab6383e7885e71a2edd2716950a8847ee0c4ccd2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:55.849 +00:00] [INFO] [session.go:3959] ["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/23 09:28:55.907 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:55.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:55.907 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:55.861 +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/23 09:28:55.991 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:55.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:56.077 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.785491ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:56.104 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:56.104 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:28:56.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=15] ["take time"=32.258543ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:55.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:56.193 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:55.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:56.260 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:28:56.260 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:56.262 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.416948909\n# Parse_time: 0\n# Compile_time: 0.003354632\n# Rewrite_time: 0.000012674\n# Optimize_time: 0\n# Wait_TS: 0.000138876\n# DB: mysql\n# Is_internal: true\n# Digest: 6f80e6944eacefde08a31e8364b171d37e77c4bebc7757ae375b47812ca371cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:56.268 +00:00] [INFO] [session.go:3959] ["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/23 09:28:56.319 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:56.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:56.319 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:56.279 +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/23 09:28:56.387 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:56.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:56.453 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=1.797422ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:56.465 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:56.465 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:28:56.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=16] ["take time"=16.077978ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:56.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:56.511 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:56.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:56.571 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:28:56.571 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:56.572 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.306963612\n# Parse_time: 0\n# Compile_time: 0.002429093\n# Rewrite_time: 0.000011993\n# Optimize_time: 0\n# Wait_TS: 0.000143523\n# DB: mysql\n# Is_internal: true\n# Digest: ae00140f19e8173091b9a44ece06f4d51ecf640b3c9c924a7be8a7394182215f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:56.578 +00:00] [INFO] [session.go:3959] ["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/23 09:28:56.638 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:56.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:56.638 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:56.59 +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/23 09:28:56.679 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:56.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:56.766 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=1.870218ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:56.777 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:56.778 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:28:56.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=17] ["take time"=16.132201ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:56.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:56.882 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:56.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:56.949 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:28:56.949 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:56.951 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.375420041\n# Parse_time: 0\n# Compile_time: 0.002586054\n# Rewrite_time: 0.000009351\n# Optimize_time: 0\n# Wait_TS: 0.000133634\n# DB: mysql\n# Is_internal: true\n# Digest: b0ac22a8699b953eeb48be3f830e94a20801551f37159b586c40d30dc883661d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:56.955 +00:00] [INFO] [session.go:3959] ["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/23 09:28:57.008 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:56.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:57.008 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:56.967 +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/23 09:28:57.075 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:56.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:57.150 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=1.810684ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:57.162 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:57.162 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:28:57.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=18] ["take time"=16.087171ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:56.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:57.259 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:56.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:57.317 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:28:57.317 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:57.319 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.365290424\n# Parse_time: 0\n# Compile_time: 0.002085294\n# Rewrite_time: 0.00000893\n# Optimize_time: 0\n# Wait_TS: 0.000104156\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:57.327 +00:00] [INFO] [session.go:3959] ["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/23 09:28:57.409 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:57.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:57.409 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:57.339 +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/23 09:28:57.476 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:57.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:57.601 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=3.582095ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:57.614 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:57.614 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:28:57.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=19] ["take time"=18.113795ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:57.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:57.655 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:57.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:57.738 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:28:57.738 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:57.740 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.416130216\n# Parse_time: 0\n# Compile_time: 0.003330856\n# Rewrite_time: 0.000011639\n# Optimize_time: 0\n# Wait_TS: 0.000143302\n# DB: mysql\n# Is_internal: true\n# Digest: 906c8d2d8937c4ba0f1e3f03de3e50407e0940fb66383a443b19d383373b2bb9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:57.760 +00:00] [INFO] [session.go:3959] ["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/23 09:28:57.820 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:57.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:57.820 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:57.774 +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/23 09:28:57.891 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:57.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:57.971 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=2.675018ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:57.983 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:57.983 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:28:57.984 +00:00] [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"=16.968843ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:57.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:58.074 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:57.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:58.138 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:28:58.138 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:58.140 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.38182407\n# Parse_time: 0\n# Compile_time: 0.002655969\n# Rewrite_time: 0.000012288\n# Optimize_time: 0\n# Wait_TS: 0.000141265\n# DB: mysql\n# Is_internal: true\n# Digest: df1a9dde39341a07eb2fb8ef599e6652770203b79af3e1800917053820a3b51c\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:58.143 +00:00] [INFO] [session.go:3959] ["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/23 09:28:58.193 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:58.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:58.193 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:58.156 +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/23 09:28:58.244 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:58.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:58.310 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.639052ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:58.320 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:58.321 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:28:58.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=21] ["take time"=14.253458ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:58.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:58.367 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:58.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:58.411 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:28:58.411 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:58.415 +00:00] [INFO] [session.go:3959] ["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/23 09:28:58.455 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:58.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:58.455 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:58.429 +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/23 09:28:58.544 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:58.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:58.590 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.549112ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:58.604 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:58.604 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:28:58.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=22] ["take time"=18.981856ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:58.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:58.699 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:58.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:58.738 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:28:58.738 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:58.740 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.326246875\n# Parse_time: 0\n# Compile_time: 0.001350034\n# Rewrite_time: 0.000016143\n# Optimize_time: 0\n# Wait_TS: 0.000150503\n# DB: mysql\n# Is_internal: true\n# Digest: 58329d63c08bcbc761a6b408e882dc874ae0220c9a2aaaeab91d992543fef52b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:58.748 +00:00] [INFO] [session.go:3959] ["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/23 09:28:58.827 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:58.827 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:58.762 +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/23 09:28:58.916 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:59.027 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=3.046072ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:59.040 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:59.041 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:28:59.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=23] ["take time"=19.069812ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:59.134 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:58.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:59.203 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:28:59.204 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:59.206 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.460415818\n# Parse_time: 0\n# Compile_time: 0.003154953\n# Rewrite_time: 0.000012724\n# Optimize_time: 0\n# Wait_TS: 0.000144095\n# DB: mysql\n# Is_internal: true\n# Digest: 9c4f6672f019f6d6c588a6b2eb00b13f041ee54cb97f253f85d7ae52df9d23c6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:59.210 +00:00] [INFO] [session.go:3959] ["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/23 09:28:59.261 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:59.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:59.261 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:59.223 +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/23 09:28:59.334 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:59.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:59.423 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.075733ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:59.435 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:59.435 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:28:59.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=24] ["take time"=16.370352ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:59.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:59.485 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:59.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:59.546 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:28:59.546 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:59.548 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.339402719\n# Parse_time: 0\n# Compile_time: 0.002229833\n# Rewrite_time: 0.00001148\n# Optimize_time: 0\n# Wait_TS: 0.000142061\n# DB: mysql\n# Is_internal: true\n# Digest: 9e692f90f6e351e4eecf3fbff7177acf0a166d0cd79badb0ce0ced2bb754eb99\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:59.552 +00:00] [INFO] [session.go:3959] ["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/23 09:28:59.604 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:59.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:59.604 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:59.564 +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/23 09:28:59.658 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:59.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:59.753 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=1.940593ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:28:59.767 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:28:59.767 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:28:59.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=25] ["take time"=26.366177ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:59.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:59.860 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:59.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:28:59.916 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:28:59.916 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:28:59.917 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.366942802\n# Parse_time: 0\n# Compile_time: 0.002096469\n# Rewrite_time: 0.000009099\n# Optimize_time: 0\n# Wait_TS: 0.000128636\n# DB: mysql\n# Is_internal: true\n# Digest: fb2ab8d9eb87bcf45e5bc65e3dbe38a6d629c319d70fb6f44a741534bb3455a6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:28:59.924 +00:00] [INFO] [session.go:3959] ["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/23 09:28:59.976 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:28:59.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:28:59.977 +00:00] [INFO] [ddl.go:1210] ["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-23 09:28:59.937 +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/23 09:29:00.022 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:28:59.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:00.105 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=1.567641ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:00.117 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:00.117 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:29:00.123 +00:00] [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"=20.218007ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:28:59.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:00.220 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:28:59.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:00.278 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:29:00.278 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:00.280 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.358371473\n# Parse_time: 0\n# Compile_time: 0.002375326\n# Rewrite_time: 0.000010966\n# Optimize_time: 0\n# Wait_TS: 0.000141164\n# DB: mysql\n# Is_internal: true\n# Digest: 1fac41a3d4a89e3e4da2393e1f69d1aacfec8886db749d6329e9bf677df777b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:00.283 +00:00] [INFO] [session.go:3959] ["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/23 09:29:00.366 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:00.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:00.366 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:00.297 +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/23 09:29:00.425 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:00.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:00.504 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=1.945475ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:00.521 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:00.522 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:29: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=27] ["take time"=28.152728ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:00.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:00.616 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:00.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:00.681 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:29:00.681 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:00.683 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.401198578\n# Parse_time: 0\n# Compile_time: 0.001946004\n# Rewrite_time: 0.000011657\n# Optimize_time: 0\n# Wait_TS: 0.000118236\n# DB: mysql\n# Is_internal: true\n# Digest: 06962f34c69b85ab590c2556bdffd68d7705d56a70a3b0522b0ba5bc55363fd3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:00.689 +00:00] [INFO] [session.go:3959] ["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/23 09:29:00.739 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:00.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:00.739 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:00.704 +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/23 09:29:00.819 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:00.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:00.886 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=1.528925ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:00.897 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:00.897 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:29:00.898 +00:00] [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"=14.052259ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:00.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:00.979 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:00.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:01.029 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:29:01.029 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:01.031 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.344141315\n# Parse_time: 0\n# Compile_time: 0.002916608\n# Rewrite_time: 0.000014971\n# Optimize_time: 0\n# Wait_TS: 0.000140613\n# DB: mysql\n# Is_internal: true\n# Digest: a30fd7e284f356f111cb15459926cdbebb3d6f24c950b6f3b9729d8b5f13ee4f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:01.040 +00:00] [INFO] [session.go:3959] ["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/23 09:29:01.042 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:29:01.101 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:01.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:01.101 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:01.052 +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/23 09:29:01.136 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:01.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:01.256 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=1.898993ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:01.268 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:01.268 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:29:01.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=29] ["take time"=22.57906ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:01.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:01.309 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:01.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:01.368 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:29:01.368 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:01.370 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.333555914\n# Parse_time: 0\n# Compile_time: 0.003725843\n# Rewrite_time: 0.000011407\n# Optimize_time: 0\n# Wait_TS: 0.00014347\n# DB: mysql\n# Is_internal: true\n# Digest: c862b6db4c0b104bd6ade1db78bbe1f6a12a30584d750044f3eec57a1a86580e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:01.376 +00:00] [INFO] [session.go:3959] ["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/23 09:29:01.445 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:01.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:01.445 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:01.389 +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/23 09:29:01.503 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:01.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:01.598 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=1.942269ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:01.610 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:01.610 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:29:01.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=30] ["take time"=16.949915ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:01.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:01.690 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:01.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:01.760 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:29:01.760 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:01.762 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.388321609\n# Parse_time: 0\n# Compile_time: 0.003029096\n# Rewrite_time: 0.000009412\n# Optimize_time: 0\n# Wait_TS: 0.000115926\n# DB: mysql\n# Is_internal: true\n# Digest: eceb528bf68c7d9b100b120b5113005ea7f5a4c6c1f4834403330ff156d0a3aa\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:01.770 +00:00] [INFO] [session.go:3959] ["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/23 09:29:01.845 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:01.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:01.845 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:01.784 +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/23 09:29:01.907 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:01.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:02.037 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=2.326297ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:02.049 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:02.049 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:29:02.050 +00:00] [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"=16.243954ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:01.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:02.150 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:01.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:02.221 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:29:02.221 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:02.223 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.456919511\n# Parse_time: 0\n# Compile_time: 0.003699214\n# Rewrite_time: 0.000013709\n# Optimize_time: 0\n# Wait_TS: 0.000130279\n# DB: mysql\n# Is_internal: true\n# Digest: 752363602773b9b875eec93769301ada55a059e0b28c5434de98fdbbc6af54cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:02.235 +00:00] [INFO] [session.go:3959] ["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/23 09:29:02.329 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:02.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:02.329 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:02.251 +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/23 09:29:02.413 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:02.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:02.579 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=3.955096ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:02.593 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:02.593 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:29:02.595 +00:00] [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"=20.541133ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:02.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:02.682 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:02.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:02.783 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:29:02.783 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:02.784 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.554092399\n# Parse_time: 0\n# Compile_time: 0.004853445\n# Rewrite_time: 0.00001311\n# Optimize_time: 0\n# Wait_TS: 0.000129775\n# DB: mysql\n# Is_internal: true\n# Digest: 1127cc15f332cc4c1c6b97d06d92880902c2f7e015188cc29392a62748dd8ae0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:02.787 +00:00] [INFO] [session.go:3959] ["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/23 09:29:02.836 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:02.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:02.836 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:02.799 +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/23 09:29:02.897 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:02.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:02.947 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=1.498932ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:02.959 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:02.960 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:29:02.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=33] ["take time"=16.681669ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:02.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:03.050 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:02.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:03.083 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:29:03.083 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:03.177 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:03.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:03.176 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:03.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:29:03.231 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:03.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:03.346 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=2.844032ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:29:03.361 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:03.361 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:29:03.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=34] ["take time"=18.718818ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:29:03.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:03.465 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:03.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:03.543 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:29:03.544 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:03.546 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.453545495\n# Parse_time: 0\n# Compile_time: 0.009742471\n# Rewrite_time: 0.004899306\n# Optimize_time: 0\n# Wait_TS: 0.000114508\n# DB: mysql\n# Is_internal: true\n# Digest: 21116016d77c522c611ad3a280af29e3d82340ed19bc91481dd117f25aeda403\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:03.552 +00:00] [INFO] [session.go:3959] ["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/23 09:29:03.614 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:03.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:03.615 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:03.565 +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/23 09:29:03.671 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:03.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:03.812 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.872663ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:03.826 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:03.826 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:29:03.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=35] ["take time"=18.469425ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:03.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:03.919 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:03.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:03.992 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:29:03.992 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:03.994 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.44463609\n# Parse_time: 0\n# Compile_time: 0.003015026\n# Rewrite_time: 0.000012845\n# Optimize_time: 0\n# Wait_TS: 0.000151444\n# DB: mysql\n# Is_internal: true\n# Digest: d88a70e9c5bb5a28f5a1d1f52613093328fd73c5e78668fab2b1a9c260ab506b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:03.999 +00:00] [INFO] [session.go:3959] ["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/23 09:29:04.051 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:04.051 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:04.014 +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/23 09:29:04.113 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:04.188 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.187001ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:04.203 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:04.203 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:29:04.204 +00:00] [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"=18.418162ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:04.259 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:04.322 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:29:04.322 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:04.324 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.326567456\n# Parse_time: 0\n# Compile_time: 0.001582203\n# Rewrite_time: 0.000008806\n# Optimize_time: 0\n# Wait_TS: 0.000124606\n# DB: mysql\n# Is_internal: true\n# Digest: 1ce2bb4fd69df5a5aeb254910aeeab700c1408b8c2de8f7dbe3ebbc11a4b1542\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:04.330 +00:00] [INFO] [session.go:3959] ["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/23 09:29:04.388 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:04.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:04.388 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:04.344 +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/23 09:29:04.439 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:04.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:04.508 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=2.169154ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:04.521 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:04.522 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:29:04.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=37] ["take time"=18.553186ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:04.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:04.614 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:04.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:04.688 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:29:04.688 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:04.690 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.363280732\n# Parse_time: 0\n# Compile_time: 0.002783449\n# Rewrite_time: 0.000013644\n# Optimize_time: 0\n# Wait_TS: 0.000136377\n# DB: mysql\n# Is_internal: true\n# Digest: f2c0bd78cfe8f7e6b4f8b30f83a48ff4c49a1a9de1c1a0c721ec3561ac42865a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:04.703 +00:00] [INFO] [session.go:3959] ["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/23 09:29:04.825 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:04.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:04.825 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:04.717 +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/23 09:29:04.877 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:04.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:05.083 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=6.815705ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:05.095 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:05.095 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:29:05.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=38] ["take time"=20.383501ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:04.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:05.195 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:04.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:05.315 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:29:05.315 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:05.317 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.619438072\n# Parse_time: 0\n# Compile_time: 0.005624248\n# Rewrite_time: 0.000013313\n# Optimize_time: 0\n# Wait_TS: 0.000143088\n# DB: mysql\n# Is_internal: true\n# Digest: 923db1cc9d609e172ea493293255661f5a9679f95604192db50211d133741170\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:05.328 +00:00] [INFO] [session.go:3959] ["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/23 09:29:05.439 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:05.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:05.440 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:05.342 +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/23 09:29:05.501 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:05.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:05.662 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=3.659513ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:05.676 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:05.676 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:29:05.679 +00:00] [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"=20.994056ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:05.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:05.727 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:05.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:05.833 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:29:05.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:05.835 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.510988099\n# Parse_time: 0\n# Compile_time: 0.003879279\n# Rewrite_time: 0.00000924\n# Optimize_time: 0\n# Wait_TS: 0.000121289\n# DB: mysql\n# Is_internal: true\n# Digest: 99a5c0e89a0b881a0fa10de262495ae25955edb2a7ef8776054ab57aca80e0d7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:05.844 +00:00] [INFO] [session.go:3959] ["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/23 09:29:05.944 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:05.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:05.944 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:05.859 +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/23 09:29:05.993 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:05.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:06.184 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=3.402908ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:06.195 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:06.195 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:29: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=40] ["take time"=16.435326ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:05.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:06.282 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:05.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:06.394 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:29:06.395 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:06.396 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.556147135\n# Parse_time: 0\n# Compile_time: 0.004301965\n# Rewrite_time: 0.000009831\n# Optimize_time: 0\n# Wait_TS: 0.000108106\n# DB: mysql\n# Is_internal: true\n# Digest: a59d1fe47cade4697d39b0374d27cfee2fa302a4c752a5ae5073cecda386a0e8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:06.406 +00:00] [INFO] [session.go:3959] ["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/23 09:29:06.512 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:06.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:06.512 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:06.421 +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/23 09:29:06.554 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:06.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:06.727 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=3.482321ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:06.742 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:06.742 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:29:06.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=41] ["take time"=20.761256ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:06.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:06.837 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:06.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:06.951 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:29:06.951 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:06.952 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.550559678\n# Parse_time: 0\n# Compile_time: 0.003912107\n# Rewrite_time: 0.000013405\n# Optimize_time: 0\n# Wait_TS: 0.000135716\n# DB: mysql\n# Is_internal: true\n# Digest: 8b936e70dba13ed841799b00055530a734435802a5e9b11c1092357e8a0974ea\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:06.960 +00:00] [INFO] [session.go:3959] ["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/23 09:29:07.047 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:06.975 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:07.047 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:06.975 +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/23 09:29:07.097 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:06.975 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:07.255 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=3.812287ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:07.268 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:07.268 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:29:07.270 +00:00] [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"=26.928339ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:06.975 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:07.314 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:06.975 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:07.406 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:29:07.406 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:07.408 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.450898012\n# Parse_time: 0\n# Compile_time: 0.003774834\n# Rewrite_time: 0.0000105\n# Optimize_time: 0\n# Wait_TS: 0.000123322\n# DB: mysql\n# Is_internal: true\n# Digest: 666f922981f05f40c7604fdcedd884ec9f6dd414d45b0b8215b19cbf33205685\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:07.416 +00:00] [INFO] [session.go:3959] ["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/23 09:29:07.507 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:07.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:07.507 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:07.43 +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/23 09:29:07.594 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:07.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:07.824 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=4.509484ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:07.838 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:07.838 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:29:07.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=43] ["take time"=22.300445ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:07.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:07.936 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:07.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:08.070 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:29:08.070 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:08.072 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.659220829\n# Parse_time: 0\n# Compile_time: 0.003901836\n# Rewrite_time: 0.000010752\n# Optimize_time: 0\n# Wait_TS: 0.000117064\n# DB: mysql\n# Is_internal: true\n# Digest: 1865863db4761960f0296bcf5386c3bb0c98aa299ac12888aa8054dc66681ee3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:08.081 +00:00] [INFO] [session.go:3959] ["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/23 09:29:08.151 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:08.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:08.151 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:08.093 +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/23 09:29:08.242 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:08.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:08.363 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=2.224809ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:08.374 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:08.375 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:29:08.377 +00:00] [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"=17.108275ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:08.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:08.429 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:08.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:08.527 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:29:08.528 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:08.530 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.452314052\n# Parse_time: 0\n# Compile_time: 0.003823609\n# Rewrite_time: 0.000009711\n# Optimize_time: 0\n# Wait_TS: 0.000097558\n# DB: mysql\n# Is_internal: true\n# Digest: a2de40f38c40a12cca2de8ba7dffa75407607354a3f9335d67717fa5648c5128\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:08.538 +00:00] [INFO] [session.go:3959] ["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/23 09:29:08.618 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:08.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:08.618 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:08.556 +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/23 09:29:08.705 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:08.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:08.815 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=2.869901ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:08.828 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:08.828 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:29:08.830 +00:00] [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"=18.716536ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:08.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:08.882 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:08.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:08.955 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:29:08.955 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:08.957 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.423203538\n# Parse_time: 0\n# Compile_time: 0.00446536\n# Rewrite_time: 0.000013618\n# Optimize_time: 0\n# Wait_TS: 0.000154232\n# DB: mysql\n# Is_internal: true\n# Digest: 138d4c5637e5b37a1254d33767e808750320baffba8200a31ad2008bb2b5df97\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:08.968 +00:00] [INFO] [session.go:3959] ["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/23 09:29:09.087 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:08.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:09.087 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:08.983 +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/23 09:29:09.144 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:08.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:09.381 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=4.646654ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:09.394 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:09.395 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:29:09.396 +00:00] [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"=20.329273ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:08.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:09.486 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:08.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:09.611 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:29:09.611 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:09.612 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.64938132\n# Parse_time: 0\n# Compile_time: 0.005252066\n# Rewrite_time: 0.000012616\n# Optimize_time: 0\n# Wait_TS: 0.000148903\n# DB: mysql\n# Is_internal: true\n# Digest: 9911fdd027ae330cb69c5cc84a8759473df277eda62594b0dc9b5a797f09a21d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:09.620 +00:00] [INFO] [session.go:3959] ["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/23 09:29:09.712 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:09.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:09.712 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:09.633 +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/23 09:29:09.805 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:09.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:09.922 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=3.069303ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:09.933 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:09.933 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:29:09.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=47] ["take time"=16.079354ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:09.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:10.017 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:29:10.017 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:29:10.017 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:29:10.017 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:29:10.049 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:09.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:10.143 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:29:10.143 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:10.145 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.527531878\n# Parse_time: 0\n# Compile_time: 0.003013681\n# Rewrite_time: 0.000011918\n# Optimize_time: 0\n# Wait_TS: 0.000150188\n# DB: mysql\n# Is_internal: true\n# Digest: 18ab068c70cca87bd99eadc5e483c12b4b41273470a58870b5f4e6eaf6322ce4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:10.149 +00:00] [INFO] [session.go:3959] ["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/23 09:29:10.197 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:10.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:10.197 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:10.163 +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/23 09:29:10.260 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:10.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:10.330 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=1.927966ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:10.344 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:10.344 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:29:10.344 +00:00] [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"=16.248393ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:10.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:10.395 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:10.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:10.450 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:29:10.450 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:10.451 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.30410396\n# Parse_time: 0\n# Compile_time: 0.001597629\n# Rewrite_time: 0.000009793\n# Optimize_time: 0\n# Wait_TS: 0.000134609\n# DB: mysql\n# Is_internal: true\n# Digest: d7aca5b8f7b6ebbd013778d4a0451e0b59954ffc0090d361b1f71722be496608\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:10.456 +00:00] [INFO] [session.go:3959] ["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/23 09:29:10.525 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:10.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:10.525 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:10.47 +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/23 09:29:10.584 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:10.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:10.672 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=2.400533ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:10.686 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:10.686 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:29:10.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=49] ["take time"=18.587316ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:10.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:10.785 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:10.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:10.852 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:29:10.853 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:10.854 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.400023908\n# Parse_time: 0\n# Compile_time: 0.002019271\n# Rewrite_time: 0.000008917\n# Optimize_time: 0\n# Wait_TS: 0.000145043\n# DB: mysql\n# Is_internal: true\n# Digest: 5ca9dd4b3efdb0fd8b4c7af3016f911e048fc356c5b2a241e06c5bc30f085ce7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:10.856 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:29:10.885 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:10.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:10.885 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:10.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:29:10.935 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:10.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:10.979 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=733.312µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:29:10.993 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:10.993 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:29:10.995 +00:00] [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"=18.178231ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:29:10.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:11.077 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:10.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:11.108 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:29:11.108 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:11.168 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:11.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:11.168 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:11.132 +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/23 09:29:11.236 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:29:11.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:11.303 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=1.853697ms] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:29:11.315 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:29:11.315 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:29:11.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=51] ["take time"=16.54839ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:29:11.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:11.361 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:29:11.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:11.421 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:29:11.421 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:11.422 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.309299767\n# Parse_time: 0\n# Compile_time: 0.006212652\n# Rewrite_time: 0.002865438\n# Optimize_time: 0\n# Wait_TS: 0.000152256\n# DB: mysql\n# Is_internal: true\n# Digest: 04175714d714f771531a56c7ae3f097cec113655220f87ac336c5ae44d3d3f8f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/23 09:29:12.196 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449958786216493056\n# Query_time: 0.575863734\n# Parse_time: 0\n# Compile_time: 0.259860947\n# Rewrite_time: 0.007701355\n# Optimize_time: 0\n# Wait_TS: 0\n# DB: mysql\n# Is_internal: true\n# Digest: eb58d96d7eba9ae407efec64db335db75d58891b8cfae5274e34deeeb21575de\n# Num_cop_tasks: 0\n# Mem_max: 360062\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('pQPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZTozMDQuMW1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDQ4LjYBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzoxLCB0AUEAXwVouDE3OS4xwrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjU3MC42wrVzLCBnZXRfESQYczoyNC4ywgEXCRMMOjY0MgVJJCwgc2xvd2VzdF8RQwV2ACARtmAwLjAwMHMsIHJlZ2lvbl9pZDogMiwgc3RvAdsFBwgxLCAZjhhwcmltYXJ5RkQAADGKRAANZAhudW0B9gXQDF9rZXklTwkOnGJ5dGU6MzJ9fX0sIGluc2VydDoyNTUuNW1zCTEwMy42IEtCCU4vQQo=')\n# Resource_group: default\n;"] [2024/05/23 09:29:12.454 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=23.465871516s] [2024/05/23 09:29:12.477 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=07fab970-1b26-41c9-a1f6-f952f45730cc] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:29:12.477 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:29:12.477 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=47.514µs] [2024/05/23 09:29:12.477 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=22.728µs] [2024/05/23 09:29:12.477 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=24.159µs] [2024/05/23 09:29:12.477 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=17.169µs] [2024/05/23 09:29:12.477 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:29:12.477 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=26.114µs] [2024/05/23 09:29:12.477 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:29:12.477 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:29:12.478 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:29:12.502 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=07fab970-1b26-41c9-a1f6-f952f45730cc] ["take time"=46.642705ms] [2024/05/23 09:29:12.502 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=07fab970-1b26-41c9-a1f6-f952f45730cc] [2024/05/23 09:29:12.503 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:29:12.503 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:29:12.503 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:29:12.503 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:29:12.503 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:29:12.503 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:29:12.503 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:29:12.503 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:29:12.503 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:29:12.503 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:29:12.503 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:29:12.503 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:29:12.503 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:29:12.505 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:29:12.505 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:29:12.505 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=49.752163ms] [2024/05/23 09:29:12.505 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=03dd980b-cc4b-4473-bea3-292373ca938d] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:29:12.680 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:29:12.681 +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/23 09:29:12.797 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=114.930751ms] [2024/05/23 09:29:12.803 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:29:12.803 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=15bb8085-a9d6-4ba1-b18a-ff6a9ee690b6] [runWorker=true] [2024/05/23 09:29:12.803 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:29:12.803 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:29:12.804 +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/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:29:12.804 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:29:12.804 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:29:12.804 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:29:12.804 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:29:12.804 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:29:12.828 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:29:12.829 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:29:12.868 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/23 09:29:12.872 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:29:12.972 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:29:13.010 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:29:13.023 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:29:13.023 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:29:13.027 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:29:13.027 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:29:13.027 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:29:13.031 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:29:13.033 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:29:13.040 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:29:13.040 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:29:13.046 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:29:13.046 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:29:13.046 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:29:13.136 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:29:13.198 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:29:13.204 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=] [sql="create table test.auto_commit_test (a int)"] [user=root@%] [2024/05/23 09:29:13.542 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=51] ["start time"=487.052433ms] [2024/05/23 09:29:13.634 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:29:13.634 +00:00] [WARN] [domain.go:654] ["loading schema takes a long time"] ["take time"=580.728481ms] [2024/05/23 09:29:13.744 +00:00] [INFO] [mvcc.go:1246] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449958786693070848] ["min commit ts"=449958786818375681] [key="dIAA///////+X3KAAAAAAAAAaQ=="] [2024/05/23 09:29:13.744 +00:00] [INFO] [commit.go:160] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449958786692546560] [info="{StartTs:449958786692546560 AttemptedCommitTs:449958786693070848 Key:748000fffffffffffe5f728000000000000069 MinCommitTs:449958786818375681}"] [2024/05/23 09:29:13.746 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449958786692546560\n# Query_time: 0.518664671\n# Parse_time: 0\n# Compile_time: 0.013708273\n# Rewrite_time: 0.000289258\n# Optimize_time: 0.001554733\n# Wait_TS: 0.000124575\n# Prewrite_time: 0.000719592 Commit_time: 0.001511816 Get_commit_ts_time: 0.000019651 Slowest_prewrite_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Commit_primary_rpc_detail: {total:0.001s, region_id: 2, store: store1, } Write_keys: 1 Write_size: 1963 Prewrite_region: 1\n# Is_internal: true\n# Digest: 1b73a00c73a03d7dc9dd08a1ea99474b2523e5f72366f740be5156fa244256c4\n# Num_cop_tasks: 0\n# Mem_max: 10615\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('1gLQMAkyN18xCTAJMAlOL0EJMAl0aW1lOjc0NC44wrVzLCBsb29wczoxLCBwcmVwYXJlOiAzOTINHCxpbnNlcnQ6MzUyLjEFLWhjb21taXRfdHhuOiB7cHJld3JpdGU6NzE5LjYFIAxnZXRfESQUczoxOS43BRcJE0A6MS41MW1zLCBzbG93ZXN0XxFB0F9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0b3JlOiBzdG9yZTEsIH0sDVUcX3ByaW1hcnnWRAANZAhudW0hAgXOEF9rZXlzGQ5YYnl0ZToxOTYzfQkyLjM3IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('4QLwPArcAgoISW5zZXJ0XzE4AUABUgNOL0FaFnRpbWU6NzQ0LjjCtXMsIGxvb3BzOjFiInByZXBhcmU6IDM5Mi4JHARpbgE+wDozNTIuMcK1c2L8AWNvbW1pdF90eG46IHtwcmV3cml0ZTo3MTkuNsK1cywgZ2V0X2MNJBRzOjE5LjcFFwk3QDoxLjUxbXMsIHNsb3dlc3RfEUGYX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvAZ0AcwEHEDEsIH0sDVUcX3ByaW1hcnnWRAANZBhudW06MSwgBc4QX2tleXMZDmRieXRlOjE5NjN9cPcSeP///////////wEYAQ==')\n# Resource_group: default\n;"] [2024/05/23 09:29:13.746 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:29:13.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:29:13.746 +00:00] [INFO] [ddl.go:1210] ["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-23 09:29:13.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test.auto_commit_test (a int)"] [2024/05/23 09:29:13.828 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:29:13.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:13.835 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:29:13.835 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:29:13.835 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:29:13.835 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:29:13.872 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=1.574216ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:29:13.887 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:29:13.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=52] ["take time"=26.509892ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:29:13.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:14.008 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:29:13.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:29:14.042 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/23 09:29:14.042 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/23 09:29:14.049 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:29:14.049 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:29:14.050 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/23 09:29:14.053 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# User@Host: root[root] @ % [%]\n# Conn_ID: 1\n# Query_time: 0.850251952\n# Parse_time: 0.001032798\n# Compile_time: 0.00119945\n# Rewrite_time: 0.000065554\n# Optimize_time: 0.000415929\n# Wait_TS: 0.0001369\n# Is_internal: false\n# Digest: 2a2e85e46b07d28963b702e709f6cca7212e4787b8bbad18e8ed4320e19a521c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncreate table test.auto_commit_test (a int);"] [2024/05/23 09:29:14.071 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/23 09:29:14.071 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/23 09:29:14.071 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/23 09:29:14.071 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] POTENTIAL DEADLOCK: Recursive locking: current goroutine 147 lock 0xc007b3d6c8 pkg/domain/sysvar_cache.go:120 domain.(*Domain).rebuildSysVarCache ??? <<<<< pkg/domain/sysvar_cache.go:119 domain.(*Domain).rebuildSysVarCache ??? pkg/domain/domain.go:2613 domain.(*Domain).NotifyUpdateSysVarCache ??? pkg/session/session.go:1283 session.(*session).replaceGlobalVariablesTableValue ??? pkg/session/session.go:1344 session.(*session).SetGlobalSysVar ??? pkg/sessionctx/variable/sysvar.go:823 variable.glob..func164 ??? pkg/domain/sysvar_cache.go:146 domain.(*Domain).rebuildSysVarCache ??? pkg/domain/domain.go:2613 domain.(*Domain).NotifyUpdateSysVarCache ??? pkg/session/session.go:1283 session.(*session).replaceGlobalVariablesTableValue ??? pkg/session/session.go:1344 session.(*session).SetGlobalSysVar ??? pkg/executor/set.go:155 executor.(*SetExecutor).setSysVariable ??? pkg/executor/set.go:104 executor.(*SetExecutor).Next ??? pkg/executor/internal/exec/executor.go:409 exec.Next ??? pkg/executor/adapter.go:1212 executor.(*ExecStmt).next ??? pkg/executor/adapter.go:960 executor.(*ExecStmt).handleNoDelayExecutor ??? pkg/executor/adapter.go:794 executor.(*ExecStmt).handleNoDelay ??? pkg/executor/adapter.go:558 executor.(*ExecStmt).Exec ??? pkg/session/session.go:2284 session.runStmt ??? pkg/session/session.go:2162 session.(*session).ExecuteStmt ??? pkg/testkit/testkit.go:395 testkit.(*TestKit).ExecWithContext ??? external/com_github_pingcap_errors/juju_adaptor.go:112 errors.ErrorStack ??? pkg/testkit/testkit.go:151 testkit.(*TestKit).MustExec ??? pkg/session/test/txn/txn_test.go:298 txn_test.TestAutoCommitRespectsReadOnly ??? Previous place where the lock was grabbed (same goroutine) pkg/domain/sysvar_cache.go:120 domain.(*Domain).rebuildSysVarCache ??? <<<<< pkg/domain/sysvar_cache.go:119 domain.(*Domain).rebuildSysVarCache ??? pkg/domain/domain.go:2613 domain.(*Domain).NotifyUpdateSysVarCache ??? pkg/session/session.go:1283 session.(*session).replaceGlobalVariablesTableValue ??? pkg/session/session.go:1344 session.(*session).SetGlobalSysVar ??? pkg/executor/set.go:155 executor.(*SetExecutor).setSysVariable ??? pkg/executor/set.go:104 executor.(*SetExecutor).Next ??? pkg/executor/internal/exec/executor.go:409 exec.Next ??? pkg/executor/adapter.go:1212 executor.(*ExecStmt).next ??? pkg/executor/adapter.go:960 executor.(*ExecStmt).handleNoDelayExecutor ??? pkg/executor/adapter.go:794 executor.(*ExecStmt).handleNoDelay ??? pkg/executor/adapter.go:558 executor.(*ExecStmt).Exec ??? pkg/session/session.go:2284 session.runStmt ??? pkg/session/session.go:2162 session.(*session).ExecuteStmt ??? pkg/testkit/testkit.go:395 testkit.(*TestKit).ExecWithContext ??? external/com_github_pingcap_errors/juju_adaptor.go:112 errors.ErrorStack ??? pkg/testkit/testkit.go:151 testkit.(*TestKit).MustExec ??? pkg/session/test/txn/txn_test.go:298 txn_test.TestAutoCommitRespectsReadOnly ??? -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 2 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/12673/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/session/test/txn/txn_test_/txn_test.runfiles/__main__/pkg/session/test/txn/txn_test_/txn_test ================================================================================ [13,882 / 14,348] 353 / 415 tests; Testing //pkg/executor:executor_test (shard 4 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,886 / 14,348] 353 / 415 tests; Testing //pkg/executor:executor_test (shard 4 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,891 / 14,348] 353 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,897 / 14,350] 353 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,901 / 14,375] 353 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 28s remote-cache, linux-sandbox ... (70 actions running) [13,907 / 14,375] 353 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 29s remote-cache, linux-sandbox ... (70 actions running) [13,909 / 14,375] 353 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 31s remote-cache, linux-sandbox ... (67 actions, 66 running) [13,921 / 14,375] 354 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 32s remote-cache, linux-sandbox ... (70 actions running) [13,922 / 14,375] 354 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,928 / 14,375] 354 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 35s remote-cache, linux-sandbox ... (69 actions running) [13,934 / 14,403] 354 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,947 / 14,403] 355 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,954 / 14,403] 355 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 38s remote-cache, linux-sandbox ... (70 actions running) [13,964 / 14,403] 356 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,970 / 14,403] 356 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 33s remote-cache, linux-sandbox ... (70 actions running) [13,970 / 14,403] 356 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 34s remote-cache, linux-sandbox ... (70 actions running) [13,971 / 14,403] 356 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,992 / 14,417] 356 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,993 / 14,417] 356 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 35s remote-cache, linux-sandbox ... (70 actions running) [14,000 / 14,417] 356 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 36s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,001 / 14,417] 356 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,009 / 14,419] 357 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 38s remote-cache, linux-sandbox ... (70 actions running) [14,025 / 14,429] 357 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 40s remote-cache, linux-sandbox ... (70 actions running) [14,032 / 14,429] 357 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,037 / 14,429] 358 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,041 / 14,429] 358 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,053 / 14,456] 358 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,062 / 14,456] 359 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,062 / 14,456] 359 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 40s remote-cache, linux-sandbox ... (70 actions running) [14,069 / 14,461] 360 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,079 / 14,483] 360 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,091 / 14,483] 361 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 44s remote-cache, linux-sandbox ... (70 actions running) [14,096 / 14,483] 361 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,105 / 14,510] 361 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,107 / 14,510] 361 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,120 / 14,512] 361 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,125 / 14,512] 361 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 50s remote-cache, linux-sandbox ... (70 actions running) [14,128 / 14,512] 362 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 51s remote-cache, linux-sandbox ... (70 actions running) [14,138 / 14,512] 363 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,150 / 14,512] 364 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,156 / 14,514] 365 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 55s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,171 / 14,514] 365 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 30s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,177 / 14,525] 366 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 31s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,184 / 14,525] 366 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,188 / 14,525] 367 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 33s remote-cache, linux-sandbox ... (70 actions running) [14,196 / 14,525] 369 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 34s remote-cache, linux-sandbox ... (70 actions running) [14,201 / 14,525] 369 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,211 / 14,527] 369 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,222 / 14,527] 369 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 38s remote-cache, linux-sandbox ... (70 actions running) [14,227 / 14,529] 369 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 40s remote-cache, linux-sandbox ... (70 actions running) [14,227 / 14,529] 369 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 41s remote-cache, linux-sandbox ... (70 actions running) [14,233 / 14,537] 370 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,250 / 14,590] 371 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 44s remote-cache, linux-sandbox ... (68 actions, 67 running) [14,257 / 14,592] 371 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 45s remote-cache, linux-sandbox ... (70 actions running) [14,260 / 14,592] 371 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 46s remote-cache, linux-sandbox ... (70 actions running) [14,265 / 14,616] 371 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,271 / 14,629] 371 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 49s remote-cache, linux-sandbox ... (70 actions running) [14,273 / 14,629] 371 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 50s remote-cache, linux-sandbox ... (70 actions running) [14,292 / 14,629] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,296 / 14,629] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,300 / 14,629] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 54s remote-cache, linux-sandbox ... (70 actions running) [14,300 / 14,629] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 55s remote-cache, linux-sandbox ... (70 actions running) [14,308 / 14,629] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 56s remote-cache, linux-sandbox ... (69 actions running) [14,314 / 14,629] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,326 / 14,638] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,327 / 14,638] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 60s remote-cache, linux-sandbox ... (70 actions running) [14,327 / 14,638] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 61s remote-cache, linux-sandbox ... (70 actions running) [14,339 / 14,638] 372 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,339 / 14,638] 373 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 63s remote-cache, linux-sandbox ... (70 actions running) [14,354 / 14,644] 373 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,356 / 14,644] 373 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 66s remote-cache, linux-sandbox ... (70 actions running) [14,369 / 14,644] 373 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 67s remote-cache, linux-sandbox ... (70 actions running) [14,369 / 14,644] 373 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 68s remote-cache, linux-sandbox ... (70 actions running) [14,370 / 14,644] 373 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,393 / 14,644] 376 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 71s remote-cache, linux-sandbox ... (69 actions running) [14,398 / 14,669] 377 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 72s remote-cache, linux-sandbox ... (70 actions running) [14,407 / 14,669] 377 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 74s remote-cache, linux-sandbox ... (70 actions running) [14,408 / 14,669] 377 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,409 / 14,669] 377 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,429 / 14,671] 377 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 78s remote-cache, linux-sandbox ... (70 actions running) [14,431 / 14,671] 377 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 28s remote-cache, linux-sandbox ... (70 actions running) [14,431 / 14,671] 378 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 29s remote-cache, linux-sandbox ... (70 actions running) [14,437 / 14,671] 379 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 30s remote-cache, linux-sandbox ... (68 actions, 67 running) [14,437 / 14,671] 380 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 32s remote-cache, linux-sandbox ... (70 actions running) [14,454 / 14,671] 381 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,467 / 14,697] 381 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,475 / 14,709] 381 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,476 / 14,709] 381 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 36s remote-cache, linux-sandbox ... (70 actions running) [14,482 / 14,709] 381 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,490 / 14,718] 382 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 39s remote-cache, linux-sandbox ... (69 actions running) [14,496 / 14,718] 382 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 40s remote-cache, linux-sandbox ... (70 actions running) [14,506 / 14,718] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 41s remote-cache, linux-sandbox ... (70 actions running) [14,511 / 14,718] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,515 / 14,718] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,516 / 14,718] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 45s remote-cache, linux-sandbox ... (70 actions running) [14,518 / 14,718] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,545 / 14,736] 385 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 48s remote-cache, linux-sandbox ... (70 actions running) [14,546 / 14,736] 385 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,546 / 14,736] 385 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 51s remote-cache, linux-sandbox ... (70 actions running) [14,548 / 14,736] 385 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,562 / 14,736] 387 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 54s remote-cache, linux-sandbox ... (70 actions running) [14,573 / 14,736] 387 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,580 / 14,742] 387 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 56s remote-cache, linux-sandbox ... (70 actions running) [14,581 / 14,742] 387 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,592 / 14,742] 388 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 59s remote-cache, linux-sandbox ... (70 actions running) [14,592 / 14,742] 388 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 60s remote-cache, linux-sandbox ... (70 actions running) [14,598 / 14,742] 388 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 61s remote-cache, linux-sandbox ... (65 actions, 63 running) [14,604 / 14,792] 388 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,613 / 14,792] 388 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 64s remote-cache, linux-sandbox ... (68 actions running) [14,615 / 14,792] 388 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 22 of 42); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,622 / 14,815] 388 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,627 / 14,815] 388 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 53s remote-cache, linux-sandbox ... (70 actions running) [14,629 / 14,815] 388 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 54s remote-cache, linux-sandbox ... (70 actions running) [14,631 / 14,827] 389 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 56s remote-cache, linux-sandbox ... (70 actions running) [14,649 / 14,918] 391 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 57s remote-cache, linux-sandbox ... (69 actions running) [14,652 / 14,918] 392 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 58s remote-cache, linux-sandbox ... (70 actions running) [14,658 / 14,918] 392 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,660 / 14,918] 392 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,664 / 14,918] 392 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 62s remote-cache, linux-sandbox ... (70 actions running) [14,677 / 14,918] 392 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 63s remote-cache, linux-sandbox ... (70 actions running) [14,681 / 14,918] 393 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 64s remote-cache, linux-sandbox ... (70 actions running) [14,684 / 14,918] 393 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,686 / 14,918] 393 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,689 / 14,951] 394 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,694 / 15,002] 394 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 42s remote-cache, linux-sandbox ... (70 actions running) [14,696 / 15,002] 395 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 43s remote-cache, linux-sandbox ... (70 actions running) [14,716 / 15,002] 396 / 415 tests; Testing //pkg/session/nontransactionaltest:nontransactionaltest_test (shard 1 of 3); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,720 / 15,002] 396 / 415 tests; Testing //pkg/session/nontransactionaltest:nontransactionaltest_test (shard 1 of 3); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,720 / 15,002] 396 / 415 tests; Testing //pkg/session/nontransactionaltest:nontransactionaltest_test (shard 1 of 3); 29s remote-cache, linux-sandbox ... (70 actions running) [14,723 / 15,015] 396 / 415 tests; Testing //pkg/session/nontransactionaltest:nontransactionaltest_test (shard 1 of 3); 31s 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) [14,725 / 15,015] 396 / 415 tests; Testing //pkg/session/nontransactionaltest:nontransactionaltest_test (shard 1 of 3); 32s remote-cache, linux-sandbox ... (70 actions running) [14,742 / 15,015] 396 / 415 tests; Testing //pkg/session/nontransactionaltest:nontransactionaltest_test (shard 1 of 3); 33s remote-cache, linux-sandbox ... (70 actions running) [14,752 / 15,015] 397 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 25 of 42); 30s remote-cache, linux-sandbox ... (70 actions running) [14,753 / 15,015] 397 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 25 of 42); 32s remote-cache, linux-sandbox ... (70 actions running) [14,756 / 15,015] 397 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 26 of 42); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,759 / 15,015] 397 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 26 of 42); 32s remote-cache, linux-sandbox ... (70 actions running) [14,762 / 15,015] 398 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 26 of 42); 33s remote-cache, linux-sandbox ... (70 actions running) [14,786 / 15,015] 399 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,786 / 15,015] 399 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 21s remote-cache, linux-sandbox ... (70 actions running) [14,788 / 15,015] 399 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,792 / 15,015] 399 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 24s remote-cache, linux-sandbox ... (70 actions running) [14,792 / 15,015] 399 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 25s 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/23 09:32:17.124 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:32:17.125 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:17.125 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:17.127 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:17.127 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:17.128 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:17.129 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6bbfdcba-8b29-44ab-b520-6146e3381f46] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:17.141 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:17.141 +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/23 09:32:17.142 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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/23 09:32:17.144 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.6155ms] [2024/05/23 09:32:17.145 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:17.145 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=570c6f04-07df-494b-9436-d2ca3b0565c1] [runWorker=true] [2024/05/23 09:32:17.145 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:17.145 +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/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:17.145 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:17.145 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:17.145 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:17.145 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:17.145 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:17.145 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:17.147 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:32:17.152 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.152 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:32:17.162 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.169 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.980331ms] [2024/05/23 09:32:17.169 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:17.171 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.171 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:32:17.175 +00:00] [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.531544ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:17.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.182 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.185 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:32:17.185 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.185 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:32:17.186 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.193 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.193 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.188 +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/23 09:32:17.209 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.217 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=672.077µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.218 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.218 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:32:17.230 +00:00] [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.162034ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.236 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.244 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:32:17.244 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.244 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.250 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.250 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.249 +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/23 09:32:17.266 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.274 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=234.059µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.276 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.276 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:32:17.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=3] ["take time"=3.818632ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.282 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.287 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:32:17.287 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.287 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.290 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.290 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.289 +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/23 09:32:17.296 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.299 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=175.61µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.300 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.300 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:32:17.302 +00:00] [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.713137ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.306 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.309 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:32:17.309 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.310 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.314 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.314 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.311 +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/23 09:32:17.320 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.325 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=470.078µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.327 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.327 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:32:17.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=5] ["take time"=5.59843ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.336 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.340 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:32:17.340 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.340 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.344 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.344 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.342 +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/23 09:32:17.349 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.353 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=264.659µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.354 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.354 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:32:17.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=6] ["take time"=3.076426ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.362 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.369 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:32:17.369 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.370 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.373 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.373 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.372 +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/23 09:32:17.380 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.385 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=253.389µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.387 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.387 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:32:17.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=7] ["take time"=2.955341ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.394 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.398 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:32:17.398 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.398 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.401 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.401 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.4 +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/23 09:32:17.410 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.413 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=199.227µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.414 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.414 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:32:17.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=8] ["take time"=2.179621ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.420 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.424 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:32:17.424 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.425 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.428 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.428 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.426 +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/23 09:32:17.434 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.437 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=231.599µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.438 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.438 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:32:17.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=9] ["take time"=2.019098ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.443 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.446 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:32:17.446 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.447 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.450 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.450 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.448 +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/23 09:32:17.465 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.469 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=335.504µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.471 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.471 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:32:17.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.944775ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.479 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.483 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:32:17.483 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.484 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.487 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.487 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.485 +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/23 09:32:17.493 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.497 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=238.769µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.498 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.498 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:32:17.499 +00:00] [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.062406ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.505 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.508 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:32:17.508 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.509 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.509 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:17.512 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.512 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.51 +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/23 09:32:17.520 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.525 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=459.888µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.526 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.526 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:32:17.529 +00:00] [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.350076ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.535 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.540 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:32:17.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.540 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.543 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.543 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.542 +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/23 09:32:17.550 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.554 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=402.406µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.555 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.555 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:32:17.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=13] ["take time"=2.041466ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.561 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.569 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:32:17.569 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.570 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.573 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.573 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.571 +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/23 09:32:17.580 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.583 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=298.246µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.584 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.584 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:32:17.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=14] ["take time"=2.191364ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.589 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.592 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:32:17.592 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.592 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.595 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.595 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.594 +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/23 09:32:17.601 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.605 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=428.598µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.607 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.607 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:32:17.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=15] ["take time"=4.714744ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.614 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.617 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:32:17.617 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.618 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.620 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.620 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.619 +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/23 09:32:17.627 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.629 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=206.693µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.630 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.630 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:32:17.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.149733ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.635 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.638 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:32:17.638 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.638 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.640 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.640 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.639 +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/23 09:32:17.645 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.648 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=260.666µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.649 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.649 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:32:17.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=17] ["take time"=2.317105ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.655 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.657 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:32:17.657 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.658 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.661 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.661 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.66 +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/23 09:32:17.671 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.674 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=292.657µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.675 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.675 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:32:17.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=18] ["take time"=2.494656ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.681 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.685 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:32:17.685 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.685 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.688 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.687 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.688 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.687 +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/23 09:32:17.695 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.687 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.699 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=411.042µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.700 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.700 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:32:17.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=19] ["take time"=2.982207ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.687 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.706 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.687 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.710 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:32:17.710 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.711 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.713 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.714 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.712 +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/23 09:32:17.719 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.722 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=280.107µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.723 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.723 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:32:17.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=20] ["take time"=2.535827ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.729 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.731 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:32:17.731 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.732 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.734 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.734 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.733 +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/23 09:32:17.740 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.743 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=223.486µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.744 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.744 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:32:17.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=21] ["take time"=2.860204ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.754 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.757 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:32:17.757 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.758 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.760 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.760 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.759 +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/23 09:32:17.770 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.772 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=156.429µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.773 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.773 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:32:17.775 +00:00] [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.806858ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.779 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.782 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:32:17.782 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.782 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.785 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.785 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.784 +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/23 09:32:17.794 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.797 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=410.49µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.799 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.799 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:32:17.801 +00:00] [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.660529ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.805 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.808 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:32:17.808 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.809 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.811 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.811 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.81 +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/23 09:32:17.817 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.820 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=196.186µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.821 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.821 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:32:17.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=24] ["take time"=2.558284ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.826 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.829 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:32:17.829 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.830 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.832 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.832 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.831 +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/23 09:32:17.838 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.841 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=283.815µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.842 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.842 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:32: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=25] ["take time"=2.092314ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.846 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.849 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:32:17.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.849 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.852 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.852 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.85 +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/23 09:32:17.861 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.867 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=324.333µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.869 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.869 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:32:17.871 +00:00] [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.078204ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.876 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.879 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:32:17.879 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.879 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.882 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.882 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.881 +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/23 09:32:17.890 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.894 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=182.57µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.895 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.895 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:32:17.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=27] ["take time"=2.43266ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.904 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.907 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:32:17.907 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.908 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.910 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.910 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.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/23 09:32:17.916 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.918 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=219.299µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.919 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.919 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:32:17.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=28] ["take time"=2.424465ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.924 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.927 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:32:17.927 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.927 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.928 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:17.930 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.930 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.929 +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/23 09:32:17.936 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.940 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=280.053µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.941 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.941 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:32:17.942 +00:00] [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.149582ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.946 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.948 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:32:17.948 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.949 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.951 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.951 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.95 +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/23 09:32:17.960 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.966 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=609.853µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.969 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.969 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:32:17.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=30] ["take time"=4.943164ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.977 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.980 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:32:17.980 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:17.981 +00:00] [INFO] [session.go:3959] ["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/23 09:32:17.984 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:17.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:17.984 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:17.982 +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/23 09:32:17.990 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:17.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:17.993 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=266.536µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:17.994 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:17.994 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:32:17.995 +00:00] [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.68189ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:17.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.004 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:17.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.006 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:32:18.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.007 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.009 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.009 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.008 +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/23 09:32:18.015 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.019 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=289.981µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.020 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.020 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:32:18.021 +00:00] [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"=3.149102ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.025 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.029 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:32:18.029 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.029 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.032 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.032 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.031 +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/23 09:32:18.037 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.039 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=135.369µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.040 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.040 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:32:18.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=33] ["take time"=2.274485ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.045 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.047 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:32:18.047 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.050 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.050 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:32:18.056 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.060 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=292.54µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:18.061 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.061 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:32: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=34] ["take time"=5.43526ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:18.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.074 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.078 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:32:18.078 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.078 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.082 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.082 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.08 +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/23 09:32:18.090 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.093 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=234.373µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.094 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.094 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:32:18.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=35] ["take time"=2.401483ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.103 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.106 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:32:18.106 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.107 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.109 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.109 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.108 +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/23 09:32:18.115 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.118 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=252.063µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.119 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.120 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:32:18.121 +00:00] [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.949535ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.127 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.131 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:32:18.131 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.131 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.134 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.134 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.133 +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/23 09:32:18.141 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.144 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=249.453µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.145 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.145 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:32:18.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=37] ["take time"=2.014019ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.145 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:32:18.154 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.133 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.157 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:32:18.157 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.158 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.162 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.163 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.161 +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/23 09:32:18.171 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.176 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=330.002µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.177 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.177 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:32:18.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=38] ["take time"=4.022595ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.185 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.190 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:32:18.190 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.190 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.193 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.194 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.192 +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/23 09:32:18.198 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.201 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=302.853µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.202 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.202 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:32:18.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=39] ["take time"=2.030323ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.208 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.212 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:32:18.212 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.212 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.216 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.216 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.214 +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/23 09:32:18.221 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.225 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=514.511µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.226 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.226 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:32:18.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=40] ["take time"=2.019309ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.231 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.234 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:32:18.234 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.235 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.238 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.238 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.236 +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/23 09:32:18.243 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.247 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=407.717µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.248 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.248 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:32:18.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=41] ["take time"=2.872919ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.253 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.256 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:32:18.257 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.257 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.260 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.260 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.258 +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/23 09:32:18.273 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.278 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=468.007µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.279 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.279 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:32:18.281 +00:00] [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.485546ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.286 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.290 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:32:18.290 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.290 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.293 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.293 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.291 +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/23 09:32:18.299 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.303 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=306.372µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.304 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.304 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:32:18.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=43] ["take time"=3.06414ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.310 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.314 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:32:18.314 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.314 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.317 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.317 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.315 +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/23 09:32:18.322 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.327 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=611.179µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.330 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.330 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:32:18.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=44] ["take time"=6.607996ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.339 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.342 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:32:18.342 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.342 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.345 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.345 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.343 +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/23 09:32:18.353 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.356 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=320.327µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.358 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.358 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:32:18.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=45] ["take time"=5.933752ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.367 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.371 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:32:18.371 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.371 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.378 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.378 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.373 +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/23 09:32:18.387 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.391 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=435.031µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.393 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.393 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:32:18.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=46] ["take time"=7.356933ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.407 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.410 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:32:18.410 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.411 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.414 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.414 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.412 +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/23 09:32:18.419 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.422 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=316.231µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.423 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.423 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:32:18.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=47] ["take time"=2.978444ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.428 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.432 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:32:18.432 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.432 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.435 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.435 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.434 +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/23 09:32:18.440 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.443 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=288.277µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.444 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.444 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:32:18.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=48] ["take time"=3.034117ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.454 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.457 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:32:18.457 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.458 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.461 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.461 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.459 +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/23 09:32:18.470 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.473 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=294.211µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.474 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.474 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:32:18.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=49] ["take time"=4.171482ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.481 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.485 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:32:18.485 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.485 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:32:18.487 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.487 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:32:18.494 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.496 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=72.402µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:18.497 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.497 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:32:18.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=50] ["take time"=2.046814ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:18.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.504 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.506 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:32:18.506 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.510 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.510 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.508 +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/23 09:32:18.517 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.520 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=172.747µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:18.521 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.521 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:32:18.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=51] ["take time"=3.068886ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:18.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.527 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.531 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:32:18.531 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.564 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.418933767s] [2024/05/23 09:32:18.565 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=570c6f04-07df-494b-9436-d2ca3b0565c1] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:18.565 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:18.565 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=2.229µs] [2024/05/23 09:32:18.565 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.228µs] [2024/05/23 09:32:18.565 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.174µs] [2024/05/23 09:32:18.565 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.407µs] [2024/05/23 09:32:18.565 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:18.565 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=1.218µs] [2024/05/23 09:32:18.565 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:18.565 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:18.565 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:18.568 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=570c6f04-07df-494b-9436-d2ca3b0565c1] ["take time"=3.564144ms] [2024/05/23 09:32:18.568 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=570c6f04-07df-494b-9436-d2ca3b0565c1] [2024/05/23 09:32:18.568 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:18.568 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:18.568 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:18.568 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:18.568 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:18.568 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:18.568 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:18.568 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:18.568 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:18.568 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:18.568 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:18.568 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:18.568 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:18.568 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:18.568 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.837239ms] [2024/05/23 09:32:18.568 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6bbfdcba-8b29-44ab-b520-6146e3381f46] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:18.576 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:18.576 +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/23 09:32:18.585 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=9.038804ms] [2024/05/23 09:32:18.585 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:18.585 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=43772d93-5e69-4d94-b9ac-1dfea12d00ba] [runWorker=true] [2024/05/23 09:32:18.586 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:18.586 +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/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:18.586 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:18.586 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:18.586 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:18.586 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:18.586 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:18.586 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:18.588 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:18.589 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:32:18.591 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/23 09:32:18.592 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:18.601 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:18.603 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:18.605 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:18.605 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:32:18.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:18.606 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:18.606 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:32:18.607 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:18.607 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:18.607 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:18.607 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:32:18.609 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:18.609 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:32:18.609 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:32:18.610 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.613 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.613 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.612 +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/23 09:32:18.620 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.623 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=504.857µs] [gotSchemaVersion=52] [phyTblIDs="[104,105,106]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.624 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=52] [2024/05/23 09:32:18.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=52] ["take time"=4.153141ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.631 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.635 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:32:18.635 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.641 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="alter table recreate_t attributes=\"key=value\";"] [user=] [2024/05/23 09:32:18.643 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.643 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table recreate_t attributes=\"key=value\";"] [2024/05/23 09:32:18.648 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.651 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=693.595µs] [gotSchemaVersion=53] [phyTblIDs="[104,105,106]"] [actionTypes="[49,49,49]"] [diffTypes="[\"alter table attributes\"]"] [2024/05/23 09:32:18.652 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=53] [2024/05/23 09:32:18.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=53] ["take time"=4.06267ms] [job="ID:108, Type:alter table attributes, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:18.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.659 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.664 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/23 09:32:18.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.665 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=53] [cur_db=test] [sql="alter table recreate_t partition p0 attributes=\"key1=value1\";"] [user=] [2024/05/23 09:32:18.668 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.668 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table recreate_t partition p0 attributes=\"key1=value1\";"] [2024/05/23 09:32:18.677 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.680 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=711.814µs] [gotSchemaVersion=54] [phyTblIDs="[104,105,106]"] [actionTypes="[50,50,50]"] [diffTypes="[\"alter table partition attributes\"]"] [2024/05/23 09:32:18.682 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2024/05/23 09:32:18.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=54] ["take time"=4.61701ms] [job="ID:109, Type:alter table partition attributes, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.689 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.692 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:32:18.692 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.693 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=54] [cur_db=test] [sql="drop table recreate_t;"] [user=] [2024/05/23 09:32:18.696 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.696 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table recreate_t;"] [2024/05/23 09:32:18.704 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.706 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=36.88µs] [gotSchemaVersion=55] [phyTblIDs="[104,105,106]"] [actionTypes="[4,4,4]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:18.707 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55] [2024/05/23 09:32:18.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=55] ["take time"=2.466786ms] [job="ID:110, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.712 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.714 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=43.391µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:18.715 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/23 09:32:18.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=56] ["take time"=2.71014ms] [job="ID:110, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:18.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.720 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.722 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=44.452µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:18.723 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=57] [2024/05/23 09:32:18.725 +00:00] [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.030855ms] [job="ID:110, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:18.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.731 +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/23 09:32:18.734 +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/23 09:32:18.735 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="drop table"] [2024/05/23 09:32:18.736 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.742 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/23 09:32:18.742 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.743 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.745 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.745 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.744 +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/23 09:32:18.749 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.751 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=453.742µs] [gotSchemaVersion=58] [phyTblIDs="[111,112,113]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.752 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2024/05/23 09:32:18.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=58] ["take time"=3.013325ms] [job="ID:114, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.757 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.768 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/23 09:32:18.769 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.769 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=58] [cur_db=test] [sql="alter table recreate_t attributes=\"key=value\";"] [user=] [2024/05/23 09:32:18.771 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.771 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table recreate_t attributes=\"key=value\";"] [2024/05/23 09:32:18.777 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.780 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=599.084µs] [gotSchemaVersion=59] [phyTblIDs="[111,112,113]"] [actionTypes="[49,49,49]"] [diffTypes="[\"alter table attributes\"]"] [2024/05/23 09:32:18.781 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=59] [2024/05/23 09:32:18.782 +00:00] [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.806009ms] [job="ID:115, Type:alter table attributes, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.787 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.789 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/23 09:32:18.789 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.789 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=59] [cur_db=test] [sql="alter table recreate_t partition p1 attributes=\"key1=value1\";"] [user=] [2024/05/23 09:32:18.791 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.791 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table recreate_t partition p1 attributes=\"key1=value1\";"] [2024/05/23 09:32:18.798 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.801 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=677.932µs] [gotSchemaVersion=60] [phyTblIDs="[111,112,113]"] [actionTypes="[50,50,50]"] [diffTypes="[\"alter table partition attributes\"]"] [2024/05/23 09:32:18.802 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2024/05/23 09:32:18.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=60] ["take time"=4.415718ms] [job="ID:116, Type:alter table partition attributes, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.809 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.812 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/23 09:32:18.812 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.812 +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/23 09:32:18.814 +00:00] [INFO] [gc_worker.go:822] ["start delete ranges"] [category="gc worker"] [uuid=63e932d3d440000] [ranges=3] [2024/05/23 09:32:18.816 +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/23 09:32:18.816 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-105-r] [2024/05/23 09:32:18.816 +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/23 09:32:18.816 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-106-r] [2024/05/23 09:32:18.816 +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/23 09:32:18.816 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-104-r] [2024/05/23 09:32:18.820 +00:00] [INFO] [gc_worker.go:875] ["finish delete ranges"] [category="gc worker"] [uuid=63e932d3d440000] ["num of ranges"=3] ["cost time"=6.167612ms] [2024/05/23 09:32:18.821 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=60] [cur_db=test] [sql="drop table recreate_t;"] [user=] [2024/05/23 09:32:18.822 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.822 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table recreate_t;"] [2024/05/23 09:32:18.827 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.828 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=38.082µs] [gotSchemaVersion=61] [phyTblIDs="[111,112,113]"] [actionTypes="[4,4,4]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:18.829 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=61] [2024/05/23 09:32:18.830 +00:00] [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.065078ms] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.834 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.837 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=33.71µs] [gotSchemaVersion=62] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:18.838 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2024/05/23 09:32:18.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=62] ["take time"=2.577834ms] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:18.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.842 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.844 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=41.013µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:18.845 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=63] [2024/05/23 09:32:18.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=63] ["take time"=2.718539ms] [job="ID:117, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:18.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.851 +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/23 09:32:18.852 +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/23 09:32:18.853 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop table"] [2024/05/23 09:32:18.853 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.857 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/23 09:32:18.857 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.858 +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/23 09:32:18.860 +00:00] [INFO] [gc_worker.go:822] ["start delete ranges"] [category="gc worker"] [uuid=63e932d3d440000] [ranges=3] [2024/05/23 09:32:18.863 +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/23 09:32:18.863 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-112-r] [2024/05/23 09:32:18.864 +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/23 09:32:18.864 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-113-r] [2024/05/23 09:32:18.864 +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/23 09:32:18.864 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-111-r] [2024/05/23 09:32:18.869 +00:00] [INFO] [gc_worker.go:875] ["finish delete ranges"] [category="gc worker"] [uuid=63e932d3d440000] ["num of ranges"=3] ["cost time"=9.826153ms] [2024/05/23 09:32:18.870 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=43772d93-5e69-4d94-b9ac-1dfea12d00ba] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.332µs] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.066µs] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=1.254µs] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=1.092µs] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.057µs] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:18.870 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:18.870 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=43772d93-5e69-4d94-b9ac-1dfea12d00ba] ["take time"=576.416µs] [2024/05/23 09:32:18.870 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=43772d93-5e69-4d94-b9ac-1dfea12d00ba] [2024/05/23 09:32:18.870 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:32:18.871 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:18.871 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:18.871 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:18.871 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:18.871 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=43772d93-5e69-4d94-b9ac-1dfea12d00ba] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:18.871 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:18.871 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:18.871 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=43772d93-5e69-4d94-b9ac-1dfea12d00ba] [ownerKey=/tidb/stats/owner] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:18.871 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:32:18.871 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:18.872 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=1.803492ms] [2024/05/23 09:32:18.872 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:32:18.872 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:32:18.872 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:32:18.872 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:32:18.872 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:32:18.873 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestCreateWithSameName (1.77s) === RUN TestAlterAddConstraintStateChange3 [2024/05/23 09:32:18.876 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:32:18.877 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:18.877 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:18.877 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:18.877 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:18.878 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:18.880 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=2351b6a3-bb8e-4613-9f98-70ae62a14d46] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:18.887 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:18.887 +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/23 09:32:18.888 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestAlterAddConstraintStateChange3\n\tpkg/ddl/constraint_test.go:199\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:32:18.891 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.055781ms] [2024/05/23 09:32:18.891 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:18.891 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=bf22fcf5-28c4-4d4b-acc9-befef464cd52] [runWorker=true] [2024/05/23 09:32:18.891 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:18.891 +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/23 09:32:18.891 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:18.891 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:18.891 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:18.891 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:18.891 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:18.891 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:18.892 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:18.892 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:32:18.895 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.895 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:32:18.902 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.908 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.930562ms] [2024/05/23 09:32:18.909 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:18.910 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.910 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:32:18.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=1] ["take time"=8.871871ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.918 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.921 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:32:18.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.921 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:32:18.921 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.926 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.926 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.923 +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/23 09:32:18.932 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.940 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=651.47µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.942 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.942 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:32:18.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=2] ["take time"=4.037818ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.950 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.956 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:32:18.956 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.956 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.962 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.962 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.958 +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/23 09:32:18.971 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.973 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=272.452µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.975 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.975 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:32:18.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=3] ["take time"=3.048261ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.982 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.985 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:32:18.985 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:18.986 +00:00] [INFO] [session.go:3959] ["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/23 09:32:18.988 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:18.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:18.988 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:18.987 +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/23 09:32:18.995 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:18.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:18.997 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=245.421µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:18.998 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:18.998 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:32:18.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=4] ["take time"=2.092453ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:18.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.003 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:18.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.006 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:32:19.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.006 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.009 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.009 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.008 +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/23 09:32:19.015 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.021 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=556.18µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.022 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.022 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:32:19.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=5] ["take time"=4.74207ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.030 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.034 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:32:19.034 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.035 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.037 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.037 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.036 +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/23 09:32:19.043 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.045 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=248.576µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.046 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.046 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:32:19.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=6] ["take time"=2.873802ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.051 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.054 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:32:19.054 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.054 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.056 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.056 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.055 +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/23 09:32:19.064 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.068 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=248.205µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.069 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.069 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:32:19.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=7] ["take time"=2.571691ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.075 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.078 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:32:19.078 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.079 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.082 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.082 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.081 +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/23 09:32:19.090 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.093 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=214.917µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.094 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.094 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:32:19.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=8] ["take time"=2.325252ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.100 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.103 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:32:19.103 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.103 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.106 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.106 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.105 +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/23 09:32:19.115 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.118 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=307.452µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.120 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.120 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:32:19.120 +00:00] [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.454432ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.125 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.127 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:32:19.128 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.128 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.130 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.130 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.129 +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/23 09:32:19.137 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.140 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=287.998µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.142 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.142 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:32:19.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=10] ["take time"=2.12262ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.149 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.152 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:32:19.152 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.152 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.155 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.155 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.153 +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/23 09:32:19.168 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.172 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=204.541µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.173 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.173 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:32:19.174 +00:00] [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.655269ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.179 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.182 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:32:19.182 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.182 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.182 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:19.185 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.185 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.183 +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/23 09:32:19.190 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.194 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=267.024µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.195 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.195 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:32:19.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=12] ["take time"=2.496165ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.201 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.183 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.204 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:32:19.204 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.204 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.207 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.207 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.206 +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/23 09:32:19.212 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.215 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=259.534µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.216 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.216 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:32:19.220 +00:00] [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.02275ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.224 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.228 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:32:19.228 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.228 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.231 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.232 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.23 +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/23 09:32:19.240 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.243 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=251.731µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.244 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.244 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:32:19.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=14] ["take time"=2.02543ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.250 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.268 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:32:19.268 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.269 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.277 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.277 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.275 +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/23 09:32:19.282 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.293 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=277.557µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.295 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.295 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:32:19.295 +00:00] [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.041769ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.302 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.305 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:32:19.305 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.306 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.308 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.309 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.307 +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/23 09:32:19.315 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.317 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=194.376µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.318 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.318 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:32:19.319 +00:00] [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.377406ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.324 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.327 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:32:19.327 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.328 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.331 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.331 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.329 +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/23 09:32:19.335 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.338 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=199.026µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.339 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.339 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:32:19.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=17] ["take time"=2.198603ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.343 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.346 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:32:19.346 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.346 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.348 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.348 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.347 +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/23 09:32:19.354 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.356 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=201.607µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.357 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.357 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:32:19.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=18] ["take time"=2.053218ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.363 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.366 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:32:19.366 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.366 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.370 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.370 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.367 +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/23 09:32:19.376 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.379 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=322.656µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.380 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.380 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:32:19.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=19] ["take time"=2.472484ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.386 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.389 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:32:19.389 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.391 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.393 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.394 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.392 +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/23 09:32:19.398 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.400 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=263.694µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.402 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.402 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:32:19.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=20] ["take time"=2.443294ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.408 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.411 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:32:19.411 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.411 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.414 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.414 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.412 +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/23 09:32:19.418 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.421 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=167.534µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.422 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.422 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:32:19.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=21] ["take time"=2.399169ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.427 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.431 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:32:19.431 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.431 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.434 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.435 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.433 +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/23 09:32:19.441 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.444 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=189.179µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.445 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.445 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:32:19.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=22] ["take time"=2.412726ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.462 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.466 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:32:19.466 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.466 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.470 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.470 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.468 +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/23 09:32:19.476 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.482 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=370.511µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.484 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.484 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:32:19.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=23] ["take time"=2.012657ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.491 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.495 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:32:19.495 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.495 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.498 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.498 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.497 +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/23 09:32:19.507 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.510 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=215.766µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.511 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.511 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:32:19.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=24] ["take time"=2.996461ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.517 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.520 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:32:19.520 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.521 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.523 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.523 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.522 +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/23 09:32:19.529 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.532 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=316.696µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.533 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.533 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:32:19.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=25] ["take time"=2.287021ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.538 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.541 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:32:19.542 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.542 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.545 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.545 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.543 +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/23 09:32:19.549 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.552 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=233.636µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.553 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.553 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:32:19.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=26] ["take time"=2.054938ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.566 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.572 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:32:19.573 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.573 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.576 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.576 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.574 +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/23 09:32:19.584 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.587 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=258.885µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.589 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.589 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:32:19.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=27] ["take time"=2.958704ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.594 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.597 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:32:19.597 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.597 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.600 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.600 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.598 +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/23 09:32:19.606 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.609 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=230.929µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.611 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.611 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:32:19.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=28] ["take time"=2.978672ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.617 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.620 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:32:19.620 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.621 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.621 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:19.624 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.624 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.623 +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/23 09:32:19.630 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.633 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=299.822µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.634 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.634 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:32:19.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=29] ["take time"=2.014852ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.638 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.642 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:32:19.642 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.642 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.645 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.645 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.643 +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/23 09:32:19.651 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.654 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=234.906µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.655 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.655 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:32:19.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=30] ["take time"=2.512441ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.663 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.671 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:32:19.671 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.671 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.674 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.674 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.672 +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/23 09:32:19.680 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.683 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=268.553µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.685 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.685 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:32:19.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=31] ["take time"=2.378107ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.690 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.693 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:32:19.693 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.694 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.696 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.696 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.695 +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/23 09:32:19.702 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.706 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=317.634µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.707 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.707 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:32:19.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=32] ["take time"=2.881869ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.713 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.716 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:32:19.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.717 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.719 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.719 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.718 +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/23 09:32:19.726 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.728 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=211.554µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.729 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.729 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:32:19.730 +00:00] [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.313639ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.734 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.737 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:32:19.738 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.742 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.742 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:32:19.745 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.748 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=300.782µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:19.750 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.750 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:32:19.750 +00:00] [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.431146ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:19.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.755 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.758 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:32:19.758 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.759 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.765 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.765 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.763 +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/23 09:32:19.771 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.774 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=207.905µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.775 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.775 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:32:19.775 +00:00] [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.086308ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.779 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.782 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:32:19.782 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.782 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.785 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.785 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.784 +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/23 09:32:19.791 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.793 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=207.828µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.794 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.794 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:32:19.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=36] ["take time"=2.021709ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.800 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.803 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:32:19.803 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.803 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.806 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.806 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.804 +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/23 09:32:19.811 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.813 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=228.695µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.815 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.815 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:32:19.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=37] ["take time"=2.891922ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.820 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.823 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:32:19.823 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.824 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.826 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.826 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.825 +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/23 09:32:19.832 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.836 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=334.181µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.838 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.838 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:32:19.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=38] ["take time"=3.00411ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.843 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.847 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:32:19.847 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.848 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.851 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.851 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.849 +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/23 09:32:19.856 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.860 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=512.969µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.862 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.862 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:32:19.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=39] ["take time"=4.453694ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.869 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.873 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:32:19.873 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.874 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.877 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.877 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.875 +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/23 09:32:19.881 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.885 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=452.864µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.887 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.887 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:32:19.887 +00:00] [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.348099ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.892 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:32:19.893 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.896 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:32:19.896 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.897 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.900 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.900 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.898 +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/23 09:32:19.906 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.909 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=326.208µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.911 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.911 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:32:19.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=41] ["take time"=2.989241ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.917 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.921 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:32:19.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.922 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.924 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.924 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.923 +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/23 09:32:19.930 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.934 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=495.425µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.935 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.935 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:32:19.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=42] ["take time"=2.704507ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.940 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.944 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:32:19.944 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.944 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.947 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.947 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.945 +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/23 09:32:19.953 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.958 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=477.882µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.960 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.960 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:32:19.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=43] ["take time"=13.14009ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.976 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.980 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:32:19.980 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:19.981 +00:00] [INFO] [session.go:3959] ["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/23 09:32:19.984 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:19.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:19.984 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:19.982 +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/23 09:32:19.989 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:19.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.992 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=328.925µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:19.993 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:19.994 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:32:19.994 +00:00] [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.480136ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:19.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:19.998 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:19.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.001 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:32:20.001 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.001 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.003 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.004 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.002 +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/23 09:32:20.009 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.013 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=326.618µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.014 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.014 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:32:20.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=45] ["take time"=2.438551ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.018 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.021 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:32:20.021 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.021 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.025 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.025 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.023 +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/23 09:32:20.030 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.035 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=530.695µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.036 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.036 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:32:20.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=46] ["take time"=2.035457ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.041 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.045 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:32:20.045 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.045 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.047 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.047 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.046 +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/23 09:32:20.053 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.057 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=247.814µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.058 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.058 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:32:20.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=47] ["take time"=2.552588ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.065 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.069 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:32:20.069 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.069 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.072 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.072 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.071 +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/23 09:32:20.080 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.083 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=234.872µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.084 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.084 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:32:20.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=48] ["take time"=2.63943ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.089 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.092 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:32:20.092 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.093 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.095 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.095 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.094 +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/23 09:32:20.099 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.102 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=292.724µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.103 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.103 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:32:20.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=49] ["take time"=2.201232ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.108 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.110 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:32:20.110 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.111 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:32:20.114 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.114 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:32:20.118 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.120 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=79.258µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:20.121 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.121 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:32:20.122 +00:00] [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.558829ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.127 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.130 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:32:20.130 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.133 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.133 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.132 +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/23 09:32:20.139 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.142 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=220.132µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:20.143 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.143 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:32:20.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=51] ["take time"=2.010207ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:20.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.150 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.153 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:32:20.153 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.187 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.295162409s] [2024/05/23 09:32:20.187 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=bf22fcf5-28c4-4d4b-acc9-befef464cd52] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:20.187 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:20.187 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 14, tp add index"] [category=ddl] ["take time"=2.523µs] [2024/05/23 09:32:20.187 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 15, tp add index"] [category=ddl] ["take time"=1.076µs] [2024/05/23 09:32:20.187 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 12, tp add index"] [category=ddl] ["take time"=1.044µs] [2024/05/23 09:32:20.187 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 13, tp add index"] [category=ddl] ["take time"=1.08µs] [2024/05/23 09:32:20.187 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:20.187 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 11, tp general"] [category=ddl] ["take time"=1.11µs] [2024/05/23 09:32:20.187 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:20.187 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:20.187 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:20.189 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=bf22fcf5-28c4-4d4b-acc9-befef464cd52] ["take time"=2.048904ms] [2024/05/23 09:32:20.189 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=bf22fcf5-28c4-4d4b-acc9-befef464cd52] [2024/05/23 09:32:20.189 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:20.189 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:20.189 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:20.189 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:20.189 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:20.189 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:20.189 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:20.189 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:20.189 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:20.189 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:20.189 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:20.189 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:20.189 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:20.189 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:20.189 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.247343ms] [2024/05/23 09:32:20.189 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=2351b6a3-bb8e-4613-9f98-70ae62a14d46] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:20.195 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:20.196 +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/23 09:32:20.205 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=9.675959ms] [2024/05/23 09:32:20.206 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:20.206 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=bae99065-0dc5-4c5a-bb30-4ed291ec3c27] [runWorker=true] [2024/05/23 09:32:20.206 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:20.206 +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/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:20.206 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:20.206 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:20.206 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:20.206 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:20.206 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:20.206 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:20.207 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:20.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:20.209 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:32:20.220 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:20.222 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:20.223 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:20.223 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:32:20.224 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:20.224 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:20.224 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:32:20.224 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:20.225 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:20.225 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:20.225 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:32:20.226 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:20.226 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:32:20.226 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:32:20.230 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:32:20.231 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/23 09:32:20.235 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_enable_check_constraint] [val=1] [2024/05/23 09:32:20.236 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="create table t (a int)"] [user=] [2024/05/23 09:32:20.239 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.239 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int)"] [2024/05/23 09:32:20.243 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.246 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:32:20.269 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=23.478963ms] [2024/05/23 09:32:20.278 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:20.280 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:32:20.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=52] ["take time"=38.472518ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.290 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.293 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:32:20.293 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.295 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=52] [cur_db=test] [sql="alter table t add constraint c3 check ( a > 10)"] [user=] [2024/05/23 09:32:20.296 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.296 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add constraint c3 check ( a > 10)"] [2024/05/23 09:32:20.301 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.301 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=106] [conn=2] [category=ddl] [job="ID:106, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.302 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.304 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=296.848µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[43]"] [diffTypes="[\"add check constraint\"]"] [2024/05/23 09:32:20.305 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/23 09:32:20.306 +00:00] [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.460443ms] [job="ID:106, Type:add check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.307 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.307 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.314 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.314 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=106] [conn=2] [category=ddl] [job="ID:106, Type:add check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.315 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.317 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=346.829µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[43]"] [diffTypes="[\"add check constraint\"]"] [2024/05/23 09:32:20.318 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/23 09:32:20.319 +00:00] [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"=3.045007ms] [job="ID:106, Type:add check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.320 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.320 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.323 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.324 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=106] [conn=2] [category=ddl] [job="ID:106, Type:add check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.325 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add check constraint, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.327 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=366.361µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[43]"] [diffTypes="[\"add check constraint\"]"] [2024/05/23 09:32:20.329 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/23 09:32: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=55] ["take time"=2.4335ms] [job="ID:106, Type:add check constraint, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.330 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add check constraint, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.330 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.331 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:20.331 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=55] [error="[table:3819]Check constraint 'c3' is violated."] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:32:20.335 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=106] [conn=2] [job="ID:106, Type:add check constraint, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.337 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/23 09:32:20.337 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.338 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add check constraint, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.338 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.338 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:20.338 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=55] [error="[table:3819]Check constraint 'c3' is violated."] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] result.go:49: Error Trace: pkg/testkit/result.go:49 pkg/ddl/constraint_test.go:244 Error: Not equal: expected: "[t CREATE TABLE `t` (\n `a` int(11) DEFAULT NULL,\nCONSTRAINT `c3` CHECK ((`a` > 10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin]\n" actual : "[t CREATE TABLE `t` (\n `a` int(11) DEFAULT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin]\n" Diff: --- Expected +++ Actual @@ -1,4 +1,3 @@ [t CREATE TABLE `t` ( - `a` int(11) DEFAULT NULL, -CONSTRAINT `c3` CHECK ((`a` > 10)) + `a` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin] Test: TestAlterAddConstraintStateChange3 Messages: sql:show create table t, args:[] [2024/05/23 09:32:20.342 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=bae99065-0dc5-4c5a-bb30-4ed291ec3c27] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 19, tp add index"] [category=ddl] ["take time"=1.577µs] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 20, tp add index"] [category=ddl] ["take time"=1.129µs] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 17, tp add index"] [category=ddl] ["take time"=830ns] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 18, tp add index"] [category=ddl] ["take time"=1.158µs] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 16, tp general"] [category=ddl] ["take time"=707ns] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:20.342 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:20.342 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=bae99065-0dc5-4c5a-bb30-4ed291ec3c27] ["take time"=3.500047ms] [2024/05/23 09:32:20.342 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=bae99065-0dc5-4c5a-bb30-4ed291ec3c27] [2024/05/23 09:32:20.342 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:32:20.342 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:20.342 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:20.342 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:20.342 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:20.342 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:20.342 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:20.342 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:20.342 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:20.342 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:20.342 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:32:20.343 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:20.343 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=bae99065-0dc5-4c5a-bb30-4ed291ec3c27] [ownerKey=/tidb/stats/owner] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:20.343 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=bae99065-0dc5-4c5a-bb30-4ed291ec3c27] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:32:20.343 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:20.343 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.776234ms] [2024/05/23 09:32:20.344 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:32:20.344 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:32:20.344 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:32:20.344 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:32:20.344 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:32:20.344 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestAlterAddConstraintStateChange3 (1.47s) === RUN TestParallelAlterAndDropSchema [2024/05/23 09:32:20.348 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:32:20.348 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:20.348 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:20.348 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:20.348 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:20.349 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:20.350 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=9e61c11f-ae0a-4af7-ad9c-4ac599ea7401] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:20.358 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:20.358 +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/23 09:32:20.359 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestParallelAlterAndDropSchema\n\tpkg/ddl/db_change_test.go:1308\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:32:20.378 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=19.524019ms] [2024/05/23 09:32:20.381 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:20.381 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=76c22ab1-b9d3-4b01-8518-d59151547eda] [runWorker=true] [2024/05/23 09:32:20.382 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:20.382 +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/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:20.382 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:20.382 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:20.382 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:20.382 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:20.382 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:20.382 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:20.382 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:20.383 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:32:20.385 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.385 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:32:20.389 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.404 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=13.097934ms] [2024/05/23 09:32:20.405 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:20.407 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.407 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:32:20.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=1] ["take time"=18.164754ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:20.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.413 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.416 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:32:20.416 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.416 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:32:20.417 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.421 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.422 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.419 +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/23 09:32:20.427 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.434 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=775.893µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.435 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.435 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:32:20.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=2] ["take time"=2.014173ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.440 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.444 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:32:20.445 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.445 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.447 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.446 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.447 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.446 +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/23 09:32:20.453 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.446 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.455 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=223.113µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.456 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.456 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:32:20.457 +00:00] [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.055295ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.446 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.463 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.446 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.468 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:32:20.468 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.468 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.471 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.471 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.469 +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/23 09:32:20.477 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.479 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=189.065µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.480 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.480 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:32:20.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=4] ["take time"=2.794858ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.490 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.493 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:32:20.493 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.494 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.497 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.495 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.497 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.495 +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/23 09:32:20.501 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.495 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.505 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=458.49µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.506 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.507 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:32:20.507 +00:00] [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.557189ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.495 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.512 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.495 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.516 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:32:20.516 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.516 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.519 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.519 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.517 +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/23 09:32:20.523 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.527 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=427.429µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.528 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.528 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:32:20.528 +00:00] [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.021323ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.532 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.534 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:32:20.535 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.535 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.537 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.537 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.536 +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/23 09:32:20.542 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.545 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=247.739µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.547 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.547 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:32:20.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=7] ["take time"=2.050578ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.551 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.554 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:32:20.554 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.554 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.557 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.557 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.556 +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/23 09:32:20.566 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.569 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=254.389µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.571 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.571 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:32:20.571 +00:00] [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.24879ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.576 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.579 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:32:20.579 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.579 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.582 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.582 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.581 +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/23 09:32:20.588 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.591 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=226.737µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.592 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.592 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:32:20.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=9] ["take time"=2.808673ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.597 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.599 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:32:20.599 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.600 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.602 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.602 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.601 +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/23 09:32:20.606 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.608 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=205.701µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.609 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.609 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:32:20.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=10] ["take time"=2.19138ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.614 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.616 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:32:20.616 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.617 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.619 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.619 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.618 +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/23 09:32:20.623 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.626 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=307.282µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.627 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.627 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:32:20.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=11] ["take time"=2.945125ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.632 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.635 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:32:20.635 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.635 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.635 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:20.638 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.638 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.636 +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/23 09:32:20.642 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.645 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=311.867µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.646 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.646 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:32:20.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=12] ["take time"=2.346458ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.651 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.653 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:32:20.653 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.654 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.656 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.656 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.655 +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/23 09:32:20.664 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.668 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=421.526µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.670 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.670 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:32:20.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=13] ["take time"=4.515309ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.677 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.681 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:32:20.681 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.681 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.684 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.684 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.682 +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/23 09:32:20.691 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.694 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=209.157µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.695 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.695 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:32:20.696 +00:00] [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.96012ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.701 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.704 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:32:20.704 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.704 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.707 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.707 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.705 +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/23 09:32:20.714 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.718 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=297.038µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.719 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.719 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:32:20.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=15] ["take time"=2.283058ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.724 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.727 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:32:20.727 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.727 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.730 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.730 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.729 +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/23 09:32:20.736 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.739 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=311.256µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.740 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.740 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:32:20.740 +00:00] [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.045881ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.745 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.747 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:32:20.747 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.748 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.750 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.750 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.749 +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/23 09:32:20.756 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.760 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=343.63µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.762 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.762 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:32:20.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=17] ["take time"=4.381699ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.770 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.773 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:32:20.773 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.774 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.777 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.777 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.776 +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/23 09:32:20.783 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.786 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=243.86µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.787 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.787 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:32:20.788 +00:00] [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.01857ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.792 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.795 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:32:20.795 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.796 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.799 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.799 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.797 +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/23 09:32:20.806 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.811 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=351.344µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.812 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.812 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:32:20.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.143204ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.818 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.822 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:32:20.822 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.823 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.827 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.827 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.825 +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/23 09:32:20.832 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.836 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=300.394µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.837 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.837 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:32:20.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=20] ["take time"=2.041559ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.843 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.846 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:32:20.846 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.847 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.849 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.849 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.848 +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/23 09:32:20.857 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.861 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=252.528µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.863 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.863 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:32:20.865 +00:00] [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.332042ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.871 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.876 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:32:20.876 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.876 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.879 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.879 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.878 +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/23 09:32:20.886 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.889 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=209.645µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.890 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.890 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:32:20.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=22] ["take time"=2.02975ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.896 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.899 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:32:20.899 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.899 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.902 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.902 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.901 +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/23 09:32:20.910 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.914 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=457.578µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.916 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.916 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:32:20.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=23] ["take time"=4.46697ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.924 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.928 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:32:20.928 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.928 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.930 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.930 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.929 +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/23 09:32:20.937 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.940 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=307.778µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.941 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.941 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:32:20.942 +00:00] [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.218985ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.946 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.950 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:32:20.950 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:20.950 +00:00] [INFO] [session.go:3959] ["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/23 09:32:20.953 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:20.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:20.953 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:20.952 +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/23 09:32:20.978 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:20.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:20.997 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=375.983µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:20.998 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:20.998 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:32:21.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=25] ["take time"=4.932066ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:20.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.007 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:20.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.011 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:32:21.011 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.011 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.014 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.014 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.012 +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/23 09:32:21.022 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.025 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=208.018µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.026 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.026 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:32:21.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=26] ["take time"=2.924248ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.032 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.035 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:32:21.035 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.035 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.039 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.039 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.037 +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/23 09:32:21.047 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.050 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=325.944µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.051 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.052 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:32:21.054 +00:00] [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.666113ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.065 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.070 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:32:21.070 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.070 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.075 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.075 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.072 +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/23 09:32:21.082 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.086 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=272.026µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.087 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.087 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:32:21.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=28] ["take time"=2.093589ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.092 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.095 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:32:21.095 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.096 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.096 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:21.099 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.099 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.097 +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/23 09:32:21.107 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.110 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=344.599µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.111 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.111 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:32:21.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=29] ["take time"=2.115928ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.116 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.119 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:32:21.119 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.120 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.122 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.123 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.121 +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/23 09:32:21.131 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.134 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=404.234µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.135 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.135 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:32:21.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=30] ["take time"=4.732294ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.143 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.146 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:32:21.146 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.147 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.150 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.150 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.148 +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/23 09:32:21.156 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.164 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=414.24µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.165 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.165 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:32:21.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=31] ["take time"=4.619831ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.176 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.182 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:32:21.182 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.182 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.187 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.187 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.184 +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/23 09:32:21.195 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.199 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=386.785µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.201 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.201 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:32:21.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=32] ["take time"=2.68451ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.207 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.211 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:32:21.211 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.212 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.215 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.215 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.213 +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/23 09:32:21.223 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.226 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=211.076µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.227 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.227 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:32:21.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=33] ["take time"=2.768901ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.232 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.235 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:32:21.235 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.239 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.239 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:32:21.248 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.251 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=231.486µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:21.253 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.253 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:32:21.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=34] ["take time"=2.799635ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:21.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.259 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.263 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:32:21.264 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.264 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.268 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.269 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.267 +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/23 09:32:21.278 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.281 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=334.182µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.283 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.283 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:32:21.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=35] ["take time"=2.282923ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.292 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.295 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:32:21.296 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.296 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.299 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.299 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.297 +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/23 09:32:21.306 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.309 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=290.07µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.311 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.311 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:32:21.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=36] ["take time"=2.947238ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.319 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.322 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:32:21.322 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.323 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.325 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.325 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.324 +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/23 09:32:21.332 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.335 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=260.741µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.337 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.337 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:32:21.337 +00:00] [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.012189ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.341 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.344 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:32:21.344 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.345 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.348 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.348 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.346 +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/23 09:32:21.354 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.366 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=595.994µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.373 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.373 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:32:21.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=38] ["take time"=8.911915ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.379 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.382 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:32:21.383 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:32:21.383 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.384 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.387 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.387 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.385 +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/23 09:32:21.396 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.401 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=495.606µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.402 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.402 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:32:21.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=39] ["take time"=4.070578ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.409 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.413 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:32:21.413 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.413 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.417 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.417 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.415 +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/23 09:32:21.423 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.427 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=553.568µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.429 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.429 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:32:21.431 +00:00] [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.868397ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.442 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.447 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:32:21.447 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.447 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.451 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.451 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.449 +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/23 09:32:21.458 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.464 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=564.46µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.466 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.466 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:32:21.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=41] ["take time"=4.178675ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.474 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.477 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:32:21.477 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.478 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.481 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.481 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.479 +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/23 09:32:21.487 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.493 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=539.688µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.494 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.494 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:32:21.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=42] ["take time"=4.493211ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.503 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.507 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:32:21.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.508 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.511 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.511 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.51 +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/23 09:32:21.521 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.526 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=501.133µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.527 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.527 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:32:21.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=43] ["take time"=5.090987ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.536 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.540 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:32:21.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.541 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.544 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.544 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.543 +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/23 09:32:21.551 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.555 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=277.97µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.556 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.556 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:32:21.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=44] ["take time"=4.24149ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.567 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.572 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:32:21.572 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.572 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.576 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.576 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.574 +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/23 09:32:21.584 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.588 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=368.585µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.589 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.589 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:32:21.589 +00:00] [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.026737ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.594 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.598 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:32:21.598 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.599 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.603 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.603 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.601 +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/23 09:32:21.610 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.615 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=602.46µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.617 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.617 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:32:21.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=46] ["take time"=4.368584ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.624 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.629 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:32:21.629 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.629 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.633 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.633 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.631 +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/23 09:32:21.640 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.644 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=289.872µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.645 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.645 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:32:21.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=47] ["take time"=2.277088ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.652 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.656 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:32:21.656 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.657 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.661 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.661 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.659 +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/23 09:32:21.674 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.678 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=308.656µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.679 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.679 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:32:21.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"=4.572075ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.694 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.698 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:32:21.698 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.699 +00:00] [INFO] [session.go:3959] ["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/23 09:32:21.701 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.701 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.7 +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/23 09:32:21.709 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.712 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=301.411µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.713 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.713 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:32:21.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=49] ["take time"=4.857788ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.721 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.725 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:32:21.725 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.725 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:32:21.727 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.727 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:32:21.735 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.737 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=57.814µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:21.738 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.738 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:32:21.739 +00:00] [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.044445ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:21.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.746 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.749 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:32:21.749 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.752 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.752 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.751 +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/23 09:32:21.760 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.764 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=274.501µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:21.765 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:21.765 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:32:21.768 +00:00] [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.87106ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:21.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.777 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.783 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:32:21.783 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.816 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.434279091s] [2024/05/23 09:32:21.817 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=76c22ab1-b9d3-4b01-8518-d59151547eda] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:21.817 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:21.817 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 23, tp add index"] [category=ddl] ["take time"=2.105µs] [2024/05/23 09:32:21.817 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 24, tp add index"] [category=ddl] ["take time"=1.119µs] [2024/05/23 09:32:21.817 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 25, tp add index"] [category=ddl] ["take time"=1.288µs] [2024/05/23 09:32:21.817 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 22, tp add index"] [category=ddl] ["take time"=1.708µs] [2024/05/23 09:32:21.817 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:21.817 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 21, tp general"] [category=ddl] ["take time"=1.191µs] [2024/05/23 09:32:21.817 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:21.817 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:21.817 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:21.819 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=76c22ab1-b9d3-4b01-8518-d59151547eda] ["take time"=2.763986ms] [2024/05/23 09:32:21.819 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=76c22ab1-b9d3-4b01-8518-d59151547eda] [2024/05/23 09:32:21.819 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:21.819 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:21.819 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:21.819 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:21.819 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:21.819 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:21.819 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:21.819 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:21.819 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:21.819 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:21.819 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:21.819 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:21.819 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:21.819 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:21.819 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.974741ms] [2024/05/23 09:32:21.820 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=9e61c11f-ae0a-4af7-ad9c-4ac599ea7401] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:21.826 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:21.826 +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/23 09:32:21.852 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=25.753301ms] [2024/05/23 09:32:21.864 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:21.864 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=2b926ffa-14c0-4647-ae63-5843c29afd69] [runWorker=true] [2024/05/23 09:32:21.864 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:21.864 +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/23 09:32:21.864 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:21.864 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:21.864 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:21.864 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:21.864 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:21.864 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:21.864 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:21.864 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:21.864 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:21.864 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:21.864 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:21.864 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:21.865 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:21.865 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:21.865 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:21.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:21.873 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:32:21.888 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:21.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:21.892 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:21.892 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:32:21.893 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:21.893 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:21.893 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:32:21.894 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:21.894 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:32:21.895 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:21.895 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:21.896 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:21.897 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:32:21.897 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:32:21.900 +00:00] [INFO] [set.go:170] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:32:21.901 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=51] [cur_db=] [sql="create database test_db_state default charset utf8 default collate utf8_bin"] [user=] [2024/05/23 09:32:21.904 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:21.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.904 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:21.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_db_state default charset utf8 default collate utf8_bin"] [2024/05/23 09:32:21.914 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:21.914 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:21.921 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:21.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.923 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=73.924µs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:21.924 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:32:21.925 +00:00] [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.043757ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:21.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.934 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:21.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.937 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:32:21.937 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.937 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=52] [cur_db=] [sql="create database db_drop_db"] [user=] [2024/05/23 09:32:21.939 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:21.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.940 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:21.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database db_drop_db"] [2024/05/23 09:32:21.947 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=4] [category=ddl] [job="ID:107, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:21.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.949 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=54.407µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:21.950 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/23 09:32:21.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=53] ["take time"=4.104512ms] [job="ID:107, Type:create schema, State:done, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:21.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.962 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=4] [job="ID:107, Type:create schema, State:synced, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:21.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.966 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:32:21.966 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:21.967 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=53] [cur_db=test_db_state] [sql="create table t(a int, b int, c double default null, d int auto_increment,e int, index idx1(d), index idx2(d,e))"] [user=] [2024/05/23 09:32:21.970 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.969 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:21.970 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.969 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int, b int, c double default null, d int auto_increment,e int, index idx1(d), index idx2(d,e))"] [2024/05/23 09:32:21.979 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=4] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:21.969 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.983 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=286.17µs] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:21.984 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2024/05/23 09:32:21.987 +00:00] [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.914039ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:21.969 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.994 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=4] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:21.969 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:21.998 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:32:21.998 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.000 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=54] [cur_db=test_db_state] [sql="drop table if exists t_part"] [user=] [2024/05/23 09:32:22.000 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=54] [cur_db=test_db_state] [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/23 09:32:22.003 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.003 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.002 +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/23 09:32:22.010 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=113] [conn=4] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.018 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=5.198672ms] [gotSchemaVersion=55] [phyTblIDs="[110,111,112]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.020 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=55] [2024/05/23 09:32:22.021 +00:00] [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.036074ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.026 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=113] [conn=4] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.002 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.029 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/23 09:32:22.029 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.033 +00:00] [INFO] [set.go:170] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:32:22.038 +00:00] [INFO] [set.go:170] ["set global var"] [conn=6] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:32:22.039 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=55] [cur_db=test_db_state] [sql="DROP SCHEMA db_drop_db"] [user=] [2024/05/23 09:32:22.041 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:drop schema, State:queueing, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.041 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:drop schema, State:queueing, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="DROP SCHEMA db_drop_db"] [2024/05/23 09:32:22.043 +00:00] [INFO] [set.go:170] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:32:22.045 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:drop schema, State:queueing, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.048 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.048 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="ALTER SCHEMA db_drop_db CHARSET utf8mb4 COLLATE utf8mb4_general_ci"] [2024/05/23 09:32:22.057 +00:00] [INFO] [set.go:170] ["set global var"] [conn=9] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:32:22.059 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=5] [category=ddl] [job="ID:114, Type:drop schema, State:queueing, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.060 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.063 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=123.237µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/23 09:32:22.065 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=56] [2024/05/23 09:32:22.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=56] ["take time"=4.1104ms] [job="ID:114, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.069 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.079 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.079 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=5] [category=ddl] [job="ID:114, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.079 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.081 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=42.034µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/23 09:32:22.083 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2024/05/23 09:32:22.083 +00:00] [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.750561ms] [job="ID:114, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.085 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.089 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.089 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=5] [category=ddl] [job="ID:114, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.089 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:drop schema, State:done, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.090 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=31.476µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/23 09:32:22.092 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2024/05/23 09:32:22.093 +00:00] [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.361052ms] [job="ID:114, Type:drop schema, State:done, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.094 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:drop schema, State:done, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.097 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop schema"] [2024/05/23 09:32:22.098 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=5] [job="ID:114, Type:drop schema, State:synced, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.100 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:drop schema, State:synced, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.102 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/23 09:32:22.102 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.105 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.105 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.105 +00:00] [INFO] [ddl_worker.go:1168] ["DDL job is cancelled normally"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [error="[schema:1008]Can't drop database ''; database doesn't exist"] [errorVerbose="[schema:1008]Can't drop database ''; database doesn't exist\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.checkSchemaExistAndCancelNotExistJob\n\tpkg/ddl/schema.go:352\ngithub.com/pingcap/tidb/pkg/ddl.onModifySchemaCharsetAndCollate\n\tpkg/ddl/schema.go:121\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1248\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:965\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:462\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/23 09:32:22.105 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.046 +0000 UTC, Err:[schema:1008]Can't drop database ''; database doesn't exist, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.106 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [job="ID:115, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.046 +0000 UTC, Err:[schema:1008]Can't drop database ''; database doesn't exist, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.109 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.046 +0000 UTC, Err:[schema:1008]Can't drop database ''; database doesn't exist, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.109 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=115] [2024/05/23 09:32:22.109 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:22.109 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=55] [error="[schema:1008]Can't drop database ''; database doesn't exist"] [errorVerbose="[schema:1008]Can't drop database ''; database 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/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1322\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifySchemaCharsetAndCollate\n\tpkg/ddl/ddl_api.go:267\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterSchema\n\tpkg/ddl/ddl_api.go:609\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/ddl_test.testControlParallelExecSQL.func2\n\tpkg/ddl/db_change_test.go:1407\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_db_state\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:32:22.109 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=58] [cur_db=test_db_state] [sql="drop table t"] [user=] [2024/05/23 09:32:22.112 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.112 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t"] [2024/05/23 09:32:22.119 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=4] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.121 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=102.129µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:22.123 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=59] [2024/05/23 09:32:22.123 +00:00] [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.083816ms] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.131 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=4] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.133 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=42.478µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:22.135 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2024/05/23 09:32:22.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=60] ["take time"=5.458073ms] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.143 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=4] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:22.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.146 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=42.445µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:22.148 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=61] [2024/05/23 09:32:22.148 +00:00] [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.145669ms] [job="ID:116, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:22.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.153 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[108]"] [comment="drop table: table ID"] [2024/05/23 09:32:22.154 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop table"] [2024/05/23 09:32:22.155 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=4] [job="ID:116, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:22.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.161 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/23 09:32:22.161 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.164 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=2b926ffa-14c0-4647-ae63-5843c29afd69] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:22.164 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:22.164 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 28, tp add index"] [category=ddl] ["take time"=2.453µs] [2024/05/23 09:32:22.164 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 29, tp add index"] [category=ddl] ["take time"=1.548µs] [2024/05/23 09:32:22.164 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 30, tp add index"] [category=ddl] ["take time"=1.71µs] [2024/05/23 09:32:22.164 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 27, tp add index"] [category=ddl] ["take time"=1.547µs] [2024/05/23 09:32:22.164 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:22.164 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 26, tp general"] [category=ddl] ["take time"=1.54µs] [2024/05/23 09:32:22.164 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:22.164 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:22.170 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=1] [startKey=74800000000000006c] [endKey=74800000000000006d] [2024/05/23 09:32:22.170 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:22.170 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=2b926ffa-14c0-4647-ae63-5843c29afd69] ["take time"=9.074114ms] [2024/05/23 09:32:22.170 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=2b926ffa-14c0-4647-ae63-5843c29afd69] [2024/05/23 09:32:22.170 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:32:22.170 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:22.171 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:22.171 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:22.171 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:22.171 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:22.171 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:22.171 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:22.171 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:22.171 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:22.171 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:22.171 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:32:22.171 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:32:22.171 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=2b926ffa-14c0-4647-ae63-5843c29afd69] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:22.172 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:22.172 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:22.172 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=2b926ffa-14c0-4647-ae63-5843c29afd69] [ownerKey=/tidb/stats/owner] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:32:22.172 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:22.172 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=11.022495ms] [2024/05/23 09:32:22.173 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:32:22.173 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:32:22.173 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:32:22.173 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:32:22.173 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:32:22.173 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestParallelAlterAndDropSchema (1.83s) === RUN TestDefaultValueAsExpressions [2024/05/23 09:32:22.180 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:32:22.180 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:22.180 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:22.181 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:22.181 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:22.181 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:22.183 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=f79743b5-b63c-4d5e-915d-816713293db6] ["ddl lease"=5s] ["stats lease"=-1ns] [2024/05/23 09:32:22.190 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:22.190 +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/23 09:32:22.190 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestDefaultValueAsExpressions\n\tpkg/ddl/db_integration_test.go:1615\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:32:22.207 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=17.457869ms] [2024/05/23 09:32:22.210 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:22.210 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=56a50197-3518-458b-8c0a-a8f647933385] [runWorker=true] [2024/05/23 09:32:22.210 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:22.210 +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/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:22.210 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:22.210 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:22.210 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:22.210 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:22.210 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:22.210 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:22.211 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:22.211 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:32:22.214 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.214 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:32:22.223 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.243 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=17.554363ms] [2024/05/23 09:32:22.245 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:22.247 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.247 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:32:22.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=1] ["take time"=22.616194ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:22.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.254 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.256 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:32:22.257 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.257 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:32:22.258 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.266 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.266 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.26 +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/23 09:32:22.271 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.280 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.125602ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.282 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.282 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:32:22.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=2] ["take time"=4.441949ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.292 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.298 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:32:22.298 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.299 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.302 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.302 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.301 +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/23 09:32:22.310 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.313 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=280.585µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.315 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.315 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:32:22.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=3] ["take time"=4.044267ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.326 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.330 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:32:22.330 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.330 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.336 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.336 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.332 +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/23 09:32:22.343 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.346 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=255.231µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.348 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.348 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:32:22.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=4] ["take time"=2.97916ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.355 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.359 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:32:22.359 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.360 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.364 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.365 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.362 +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/23 09:32:22.373 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.379 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=776.971µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.381 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.381 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:32:22.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=5] ["take time"=4.801109ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.390 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.397 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:32:22.397 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.397 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.402 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.402 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.399 +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/23 09:32:22.409 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.413 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=302.971µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.414 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.414 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:32:22.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=6] ["take time"=2.457144ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.421 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.425 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:32:22.425 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.425 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.429 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.429 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.427 +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/23 09:32:22.437 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.441 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=349.519µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.443 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.443 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:32:22.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=7] ["take time"=2.190843ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.448 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.453 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:32:22.453 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.453 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.457 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.457 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.455 +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/23 09:32:22.467 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.472 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=279.183µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.473 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.473 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:32:22.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=8] ["take time"=9.341879ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.486 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.491 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:32:22.491 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.491 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.495 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.495 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.493 +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/23 09:32:22.502 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.508 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=328.939µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.510 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.510 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:32:22.512 +00:00] [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.312306ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.521 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.525 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:32:22.525 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.525 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.529 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.529 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.527 +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/23 09:32:22.536 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.540 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=406.635µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.542 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.542 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:32:22.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=10] ["take time"=4.716427ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.549 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.553 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:32:22.553 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.554 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.557 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.557 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.555 +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/23 09:32:22.567 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.572 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=358.641µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.573 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.573 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:32:22.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=11] ["take time"=6.175941ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.582 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.586 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:32:22.586 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.587 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.587 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:22.593 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.593 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.589 +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/23 09:32:22.599 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.604 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=515.705µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.605 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.605 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:32: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=12] ["take time"=4.279894ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.613 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.619 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:32:22.619 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.619 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.623 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.623 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.621 +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/23 09:32:22.631 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.636 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=423.256µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.637 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.638 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:32:22.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=13] ["take time"=4.068224ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.646 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.650 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:32:22.650 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.651 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.654 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.654 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.652 +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/23 09:32:22.669 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.673 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=330.736µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.674 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.674 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:32:22.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=14] ["take time"=2.009859ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.686 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.690 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:32:22.690 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.690 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.694 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.694 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.692 +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/23 09:32:22.702 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.706 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=319.544µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.707 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.707 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:32:22.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=15] ["take time"=2.457615ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.714 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.718 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:32:22.718 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.718 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.721 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.721 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.72 +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/23 09:32:22.730 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.739 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=317.568µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.740 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.740 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:32:22.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=16] ["take time"=4.692613ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.749 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.753 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:32:22.753 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.753 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.757 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.757 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.755 +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/23 09:32:22.773 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.777 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=335.683µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.778 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.779 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:32:22.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=17] ["take time"=9.470787ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.792 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.796 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:32:22.796 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.796 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.800 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.800 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.798 +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/23 09:32:22.807 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.810 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=248.095µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.811 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.811 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:32:22.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=18] ["take time"=3.471632ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.823 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.827 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:32:22.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.828 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.832 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.832 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.83 +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/23 09:32:22.840 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.843 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=377.771µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.845 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.845 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:32:22.855 +00:00] [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.22879ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.863 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.871 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:32:22.871 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.872 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.875 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.875 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.873 +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/23 09:32:22.882 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.885 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=299.354µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.886 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.886 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:32:22.887 +00:00] [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.14265ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.892 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.896 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:32:22.896 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.896 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.901 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.901 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.899 +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/23 09:32:22.909 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.912 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=186.325µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.913 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.913 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:32:22.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=21] ["take time"=2.709809ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.918 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.922 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:32:22.922 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.922 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.925 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.925 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.924 +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/23 09:32:22.933 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.935 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=153.795µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.936 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.936 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:32:22.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=22] ["take time"=2.586445ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.943 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.946 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:32:22.946 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.946 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.950 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.950 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.948 +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/23 09:32:22.959 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.963 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=412.621µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.965 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.965 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:32:22.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=23] ["take time"=5.415971ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.973 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.977 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:32:22.977 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:22.977 +00:00] [INFO] [session.go:3959] ["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/23 09:32:22.980 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:22.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:22.980 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:22.979 +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/23 09:32:22.987 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:22.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.990 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=330.663µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:22.992 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:22.992 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:32:22.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=24] ["take time"=2.214501ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:22.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:22.997 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:22.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.004 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:32:23.004 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.004 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.007 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.007 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.005 +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/23 09:32:23.013 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.016 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=288.782µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.018 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.018 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:32:23.018 +00:00] [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.043469ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.022 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.025 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:32:23.025 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.026 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.029 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.029 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.027 +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/23 09:32:23.036 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.039 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=396.591µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.040 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.040 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:32: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=26] ["take time"=2.93883ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.046 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.049 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:32:23.049 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.050 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.053 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.053 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.051 +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/23 09:32:23.061 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.064 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=282.993µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.066 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.066 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:32:23.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=27] ["take time"=2.544206ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.074 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.078 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:32:23.078 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.079 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.082 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.082 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.08 +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/23 09:32:23.087 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.090 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=203.2µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.091 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.091 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:32:23.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=28] ["take time"=2.464198ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.099 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.102 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:32:23.102 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.102 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.102 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:23.105 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.105 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.104 +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/23 09:32:23.112 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.115 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=251.093µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.116 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.116 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:32:23.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=29] ["take time"=2.038473ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.121 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.124 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:32:23.124 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.124 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.127 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.127 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.125 +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/23 09:32:23.133 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.136 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=352.629µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.138 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.138 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:32:23.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=30] ["take time"=4.766508ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.148 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.156 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:32:23.156 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.156 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.159 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.159 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.158 +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/23 09:32:23.170 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.176 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=692.066µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.178 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.178 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:32:23.181 +00:00] [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"=5.989041ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.186 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.190 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:32:23.190 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.190 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.194 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.194 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.192 +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/23 09:32:23.200 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.204 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=365.423µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.205 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.205 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:32: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=32] ["take time"=2.336958ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.210 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.211 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:32:23.213 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:32:23.214 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.214 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.216 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.216 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.215 +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/23 09:32:23.225 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.227 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=203.487µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.229 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.229 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:32:23.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=33] ["take time"=2.018911ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.233 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.235 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:32:23.236 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.238 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.239 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:32:23.244 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.247 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=222.262µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:23.248 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.248 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:32:23.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=34] ["take time"=2.371984ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:23.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.253 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.257 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:32:23.257 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.257 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.260 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.261 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.259 +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/23 09:32:23.269 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.271 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=243.701µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.272 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.272 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:32:23.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=35] ["take time"=2.828488ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.278 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.281 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:32:23.281 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.282 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.284 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.284 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.283 +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/23 09:32:23.295 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.297 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=261.196µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.299 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.299 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:32:23.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=36] ["take time"=2.024964ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.303 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.306 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:32:23.306 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.306 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.309 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.309 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.308 +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/23 09:32:23.315 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.318 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=232.064µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.319 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.319 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:32:23.319 +00:00] [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.140545ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.323 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.326 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:32:23.326 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.326 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.330 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.328 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.330 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.328 +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/23 09:32:23.336 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.328 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.340 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=392.17µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.341 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.341 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:32:23.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=38] ["take time"=2.574607ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.328 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.346 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.328 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.349 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:32:23.349 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.349 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.352 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.352 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.35 +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/23 09:32:23.368 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.373 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=347.946µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.374 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.374 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:32:23.375 +00:00] [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.700173ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.379 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.384 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:32:23.384 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.384 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.387 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.387 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.385 +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/23 09:32:23.392 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.396 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=380.629µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.397 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.397 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:32:23.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=40] ["take time"=2.216794ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.402 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.406 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:32:23.407 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.407 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.410 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.410 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.408 +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/23 09:32:23.415 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.419 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=528.689µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.421 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.421 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:32:23.421 +00:00] [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.549534ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.425 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.429 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:32:23.429 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.429 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.432 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.432 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.431 +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/23 09:32:23.437 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.442 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=536.125µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.443 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.443 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:32:23.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=42] ["take time"=4.435113ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.450 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.453 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:32:23.453 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.453 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.456 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.456 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.455 +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/23 09:32:23.463 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.470 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=390.54µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.471 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.471 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:32:23.472 +00:00] [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.468038ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.477 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.482 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:32:23.482 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.482 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.486 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.486 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.484 +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/23 09:32:23.491 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.494 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=349.382µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.496 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.496 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:32:23.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=44] ["take time"=4.436829ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.503 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.507 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:32:23.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.507 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.510 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.510 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.508 +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/23 09:32:23.516 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.520 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=391.035µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.521 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.521 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:32:23.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=45] ["take time"=4.192741ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.529 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.532 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:32:23.532 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.533 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.537 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.537 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.534 +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/23 09:32:23.542 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.546 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=481.346µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.547 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.547 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:32:23.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=46] ["take time"=2.737357ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.553 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.558 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:32:23.558 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.558 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.562 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.562 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.56 +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/23 09:32:23.572 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.577 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=432.332µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.579 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.579 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:32:23.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=47] ["take time"=4.331313ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.588 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.594 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:32:23.594 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.594 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.597 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.597 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.596 +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/23 09:32:23.602 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.605 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=221.144µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.606 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.606 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:32:23.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=48] ["take time"=2.859044ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.611 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.614 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:32:23.614 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.615 +00:00] [INFO] [session.go:3959] ["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/23 09:32:23.617 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.617 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.616 +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/23 09:32:23.624 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.627 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=258.133µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.628 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.628 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:32:23.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=49] ["take time"=2.166791ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.633 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.636 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:32:23.636 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.637 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:32:23.639 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.639 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:32:23.646 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.647 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=92.263µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:23.649 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.649 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:32:23.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=50] ["take time"=2.385231ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.653 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.656 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:32:23.656 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.659 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.659 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.658 +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/23 09:32:23.668 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:23.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.671 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=187.19µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:23.673 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:23.673 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:32:23.673 +00:00] [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.017499ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:23.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.678 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:23.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.681 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:32:23.681 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.706 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.495972354s] [2024/05/23 09:32:23.706 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=56a50197-3518-458b-8c0a-a8f647933385] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:23.706 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:23.706 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 34, tp add index"] [category=ddl] ["take time"=2.191µs] [2024/05/23 09:32:23.706 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 35, tp add index"] [category=ddl] ["take time"=1.249µs] [2024/05/23 09:32:23.706 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 32, tp add index"] [category=ddl] ["take time"=937ns] [2024/05/23 09:32:23.706 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 33, tp add index"] [category=ddl] ["take time"=1.02µs] [2024/05/23 09:32:23.706 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:23.706 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 31, tp general"] [category=ddl] ["take time"=1.233µs] [2024/05/23 09:32:23.706 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:23.706 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:23.706 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:23.709 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=56a50197-3518-458b-8c0a-a8f647933385] ["take time"=2.226858ms] [2024/05/23 09:32:23.709 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=56a50197-3518-458b-8c0a-a8f647933385] [2024/05/23 09:32:23.709 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:23.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:23.709 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:23.709 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:23.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:23.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:23.709 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:23.709 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:23.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:23.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:23.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:23.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:23.709 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:23.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:23.709 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.399954ms] [2024/05/23 09:32:23.709 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=f79743b5-b63c-4d5e-915d-816713293db6] ["ddl lease"=5s] ["stats lease"=-1ns] [2024/05/23 09:32:23.716 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:23.716 +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/23 09:32:23.742 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=26.303817ms] [2024/05/23 09:32:23.753 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:23.753 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=4a227700-7d31-4140-8065-56696a92eab0] [runWorker=true] [2024/05/23 09:32:23.753 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:23.753 +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/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:23.753 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:23.753 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:23.753 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:23.753 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:23.753 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:23.753 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:23.754 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:23.760 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:23.761 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:32:23.778 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:23.781 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:23.783 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:23.783 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:32:23.784 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:23.784 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:23.784 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:32:23.784 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:23.785 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:23.785 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:23.785 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:32:23.786 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:23.786 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:32:23.786 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:32:23.787 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t, t1, t2"] [user=] [2024/05/23 09:32:23.787 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=51] [cur_db=test] [sql="create table t6 (c int(10), c1 int default (date_format(now(),'%Y-%m-%d %H:%i:%s')))"] [user=] [2024/05/23 09:32:23.790 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.790 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t6 (c int(10), c1 int default (date_format(now(),'%Y-%m-%d %H:%i:%s')))"] [2024/05/23 09:32:23.797 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=10] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.799 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:32:23.810 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=10.874145ms] [2024/05/23 09:32:23.811 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:23.812 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:32:23.814 +00:00] [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"=14.406985ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.819 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=10] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.821 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:32:23.821 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.822 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=52] [cur_db=test] [sql="create table t7 (c int(10), c1 date default (date_format(now(),'%Y-%m')))"] [user=] [2024/05/23 09:32:23.824 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.824 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t7 (c int(10), c1 date default (date_format(now(),'%Y-%m')))"] [2024/05/23 09:32:23.830 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.832 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=283.906µs] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.834 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/23 09:32:23.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.354927ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.838 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=107] [conn=10] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.841 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:32:23.841 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.842 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:23.842 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=53] [error="[types:1292]Truncated incorrect DOUBLE value: '2024-05-23 09:32:23'"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:32:23.842 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:23.842 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=53] [error="[types:1292]Incorrect date value: '2024-05'"] [errorVerbose="[types:1292]Incorrect date value: '2024-05'\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/table.handleZeroDatetime\n\tpkg/table/column.go:307\ngithub.com/pingcap/tidb/pkg/table.castColumnValue\n\tpkg/table/column.go:359\ngithub.com/pingcap/tidb/pkg/table.CastColumnValue\n\tpkg/table/column.go:336\ngithub.com/pingcap/tidb/pkg/table.EvalColDefaultExpr\n\tpkg/table/column.go:579\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).getColDefaultValue\n\tpkg/executor/insert_common.go:585\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestDefaultValueAsExpressions\n\tpkg/ddl/db_integration_test.go:1625\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\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/23 09:32:23.843 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=53] [cur_db=test] [sql="create table t (c int(10), c1 varchar(256) default (upper(substring_index(user(),'@',1))));"] [user=] [2024/05/23 09:32:23.844 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:23.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.844 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:23.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (c int(10), c1 varchar(256) default (upper(substring_index(user(),'@',1))));"] [2024/05/23 09:32:23.848 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=10] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.851 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=170.075µs] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.852 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2024/05/23 09:32:23.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=54] ["take time"=2.766198ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.861 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=10] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.866 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:32:23.866 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.870 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=54] [cur_db=test] [sql="create table t1 (c int(10), c1 int default (REPLACE(UPPER(UUID()), '-', '')))"] [user=xyz@localhost] [2024/05/23 09:32:23.873 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.873 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (c int(10), c1 int default (REPLACE(UPPER(UUID()), '-', '')))"] [2024/05/23 09:32:23.878 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=111] [conn=10] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.881 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=179.679µs] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.882 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2024/05/23 09:32:23.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=55] ["take time"=2.724447ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.887 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=111] [conn=10] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.890 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/23 09:32:23.890 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.890 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:23.891 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=55] [error="[types:1292]Truncated incorrect DOUBLE value: '5C6C983D18E711EF8680EAF76374176A'"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"xyz\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"\",\n \"AuthHostname\": \"\",\n \"AuthPlugin\": \"\"\n }\n}"] [2024/05/23 09:32:23.891 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=55] [cur_db=test] [sql="create table t2(c int(10), c1 varchar(256) default (REPLACE(UPPER(UUID()), '-', '')), index idx(c1));"] [user=xyz@localhost] [2024/05/23 09:32:23.893 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:23.893 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t2(c int(10), c1 varchar(256) default (REPLACE(UPPER(UUID()), '-', '')), index idx(c1));"] [2024/05/23 09:32:23.898 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=113] [conn=10] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.901 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=266.304µs] [gotSchemaVersion=56] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:23.902 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2024/05/23 09:32:23.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=56] ["take time"=2.774704ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.910 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=113] [conn=10] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:23.912 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/23 09:32:23.912 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:23.914 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=56] [cur_db=test] [sql="alter table t2 modify column c1 varchar(30) default 'xx';"] [user=xyz@localhost] [2024/05/23 09:32:23.916 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:5, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:32:23.916 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:5, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t2 modify column c1 varchar(30) default 'xx';"] [2024/05/23 09:32:23.922 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 39, tp add index"] [category=ddl] [jobID=114] [conn=10] [category=ddl] [job="ID:114, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.924 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=226.497µs] [gotSchemaVersion=57] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:32:23.925 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2024/05/23 09:32:23.925 +00:00] [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.209061ms] [job="ID:114, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:8, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.931 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=114] [conn=10] [category=ddl] [job="ID:114, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.933 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=203.392µs] [gotSchemaVersion=58] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:32:23.935 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2024/05/23 09:32:23.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=58] ["take time"=2.956423ms] [job="ID:114, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:8, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.942 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=114] [conn=10] [category=ddl] [job="ID:114, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.944 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=277.125µs] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:32:23.945 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59] [2024/05/23 09:32:23.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=59] ["take time"=2.974778ms] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:8, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.953 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=114] [conn=10] [category=ddl] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.960 +00:00] [INFO] [reorg.go:739] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:32:23.966 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/23 09:32:23.973 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=114] [conn=10] [category=ddl] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958836688388096, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.975 +00:00] [INFO] [column.go:1077] ["start to update table row"] [category=ddl] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:8, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958836688388096, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:3,StartKey:7480000000000000705f728000000000000001,EndKey:7480000000000000705f72800000000000000300,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/23 09:32:23.976 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:32:23.976 +00:00] [INFO] [backfilling.go:697] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000300] [2024/05/23 09:32:23.976 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f72800000000000000300] ["current end key"=7480000000000000705f72800000000000000300] [2024/05/23 09:32:23.976 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=114] [2024/05/23 09:32:23.976 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=114] [2024/05/23 09:32:23.976 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=114] [2024/05/23 09:32:23.977 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=114] [error="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'"] [errorVerbose="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStack\n\texternal/com_github_pingcap_errors/normalize.go:166\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).reformatErrors\n\tpkg/ddl/column.go:1439\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).getRowRecord\n\tpkg/ddl/column.go:1361\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals.func1\n\tpkg/ddl/column.go:1307\ngithub.com/pingcap/tidb/pkg/ddl.iterateSnapshotKeys\n\tpkg/ddl/backfilling.go:794\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals\n\tpkg/ddl/column.go:1295\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:1490\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:1466\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:32:23.977 +00:00] [WARN] [backfilling.go:646] ["backfill worker failed"] [category=ddl] ["job ID"=114] ["total added count"=0] ["start key"=7480000000000000705f728000000000000001] ["result next key"=7480000000000000705f728000000000000001] [error="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'"] [errorVerbose="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStack\n\texternal/com_github_pingcap_errors/normalize.go:166\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).reformatErrors\n\tpkg/ddl/column.go:1439\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).getRowRecord\n\tpkg/ddl/column.go:1361\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals.func1\n\tpkg/ddl/column.go:1307\ngithub.com/pingcap/tidb/pkg/ddl.iterateSnapshotKeys\n\tpkg/ddl/backfilling.go:794\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals\n\tpkg/ddl/column.go:1295\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:1490\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:1466\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:32:23.977 +00:00] [WARN] [reorg.go:245] ["run reorg job done"] [category=ddl] ["handled rows"=0] [error="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'"] [errorVerbose="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStack\n\texternal/com_github_pingcap_errors/normalize.go:166\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).reformatErrors\n\tpkg/ddl/column.go:1439\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).getRowRecord\n\tpkg/ddl/column.go:1361\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals.func1\n\tpkg/ddl/column.go:1307\ngithub.com/pingcap/tidb/pkg/ddl.iterateSnapshotKeys\n\tpkg/ddl/backfilling.go:794\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals\n\tpkg/ddl/column.go:1295\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:1490\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:1466\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:32:23.979 +00:00] [WARN] [column.go:879] ["run modify column job failed, convert job to rollback"] [category=ddl] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:8, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449958836688388096, LocalMode: false, UniqueWarnings:0"] [error="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'"] [errorVerbose="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStack\n\texternal/com_github_pingcap_errors/normalize.go:166\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).reformatErrors\n\tpkg/ddl/column.go:1439\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).getRowRecord\n\tpkg/ddl/column.go:1361\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals.func1\n\tpkg/ddl/column.go:1307\ngithub.com/pingcap/tidb/pkg/ddl.iterateSnapshotKeys\n\tpkg/ddl/backfilling.go:794\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals\n\tpkg/ddl/column.go:1295\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:1490\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:1466\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:32:23.979 +00:00] [WARN] [ddl_worker.go:1171] ["run DDL job error"] [worker="worker 40, tp add index"] [category=ddl] [jobID=114] [conn=10] [error="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'"] [errorVerbose="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStack\n\texternal/com_github_pingcap_errors/normalize.go:166\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).reformatErrors\n\tpkg/ddl/column.go:1439\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).getRowRecord\n\tpkg/ddl/column.go:1361\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals.func1\n\tpkg/ddl/column.go:1307\ngithub.com/pingcap/tidb/pkg/ddl.iterateSnapshotKeys\n\tpkg/ddl/backfilling.go:794\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).fetchRowColVals\n\tpkg/ddl/column.go:1295\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData.func1\n\tpkg/ddl/column.go:1490\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*updateColumnWorker).BackfillData\n\tpkg/ddl/column.go:1466\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/23 09:32:23.980 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/23 09:32:23.985 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=114] [conn=10] [category=ddl] [job="ID:114, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A', ErrCount:1, SnapshotVersion:449958836688388096, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.988 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=282.982µs] [gotSchemaVersion=60] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:32:23.989 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=60] [2024/05/23 09:32:23.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=60] ["take time"=2.765651ms] [job="ID:114, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A', ErrCount:1, SnapshotVersion:449958836688388096, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:23.997 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=114] [tableID=112] [indexIDs="[2]"] [comment="modify column: table ID"] [2024/05/23 09:32:23.998 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="modify column"] [2024/05/23 09:32:23.999 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 39, tp add index"] [category=ddl] [jobID=114] [conn=10] [job="ID:114, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:23.915 +0000 UTC, Err:[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A', ErrCount:1, SnapshotVersion:449958836688388096, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:24.001 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/23 09:32:24.001 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=1] [startKey=7480000000000000705f698000000000000002] [endKey=7480000000000000705f698000000000000003] [2024/05/23 09:32:24.003 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=114] [2024/05/23 09:32:24.003 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:24.004 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=56] [error="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'"] [errorVerbose="[types:1265]Data truncated for column 'c1', value is '5C700A2218E711EF8680EAF76374176A'\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:1322\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6317\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestDefaultValueAsExpressions\n\tpkg/ddl/db_integration_test.go:1660\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"xyz\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"\",\n \"AuthHostname\": \"\",\n \"AuthPlugin\": \"\"\n }\n}"] [2024/05/23 09:32:24.004 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=60] [cur_db=test] [sql="alter table t2 add column c3 enum('2024-05','n') default (date_format(now(),'%Y-%m'))"] [user=xyz@localhost] [2024/05/23 09:32:24.006 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.006 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t2 add column c3 enum('2024-05','n') default (date_format(now(),'%Y-%m'))"] [2024/05/23 09:32:24.011 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=115] [conn=10] [category=ddl] [job="ID:115, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.011 +00:00] [INFO] [column.go:136] ["run add column job"] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":4,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":2,\"origin_default\":\"2024-05\",\"origin_default_bit\":null,\"default\":\"date_format(now(), _utf8mb4'%Y-%m')\",\"default_bit\":null,\"default_is_expr\":true,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/23 09:32:24.013 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=241.463µs] [gotSchemaVersion=61] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:24.014 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=61] [2024/05/23 09:32:24.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=61] ["take time"=2.038638ms] [job="ID:115, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.020 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=115] [conn=10] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.023 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=245.549µs] [gotSchemaVersion=62] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:24.024 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=62] [2024/05/23 09:32:24.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=62] ["take time"=2.828456ms] [job="ID:115, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.029 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=115] [conn=10] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.031 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=305.074µs] [gotSchemaVersion=63] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:24.032 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=63] [2024/05/23 09:32:24.033 +00:00] [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.026413ms] [job="ID:115, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.036 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=115] [conn=10] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.039 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=228.747µs] [gotSchemaVersion=64] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:24.040 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=64] [2024/05/23 09:32:24.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=64] ["take time"=2.868344ms] [job="ID:115, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.045 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=115] [conn=10] [job="ID:115, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:24.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.047 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/23 09:32:24.047 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.051 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4a227700-7d31-4140-8065-56696a92eab0] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:24.051 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:24.051 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 38, tp add index"] [category=ddl] ["take time"=1.838µs] [2024/05/23 09:32:24.051 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 40, tp add index"] [category=ddl] ["take time"=1.492µs] [2024/05/23 09:32:24.051 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 37, tp add index"] [category=ddl] ["take time"=847ns] [2024/05/23 09:32:24.051 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 39, tp add index"] [category=ddl] ["take time"=1.244µs] [2024/05/23 09:32:24.051 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:24.051 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 36, tp general"] [category=ddl] ["take time"=817ns] [2024/05/23 09:32:24.051 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:24.051 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:24.051 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:24.052 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=4a227700-7d31-4140-8065-56696a92eab0] ["take time"=2.296224ms] [2024/05/23 09:32:24.052 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=4a227700-7d31-4140-8065-56696a92eab0] [2024/05/23 09:32:24.052 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:32:24.052 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:24.052 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:24.052 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:24.052 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:24.052 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:24.052 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:24.052 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:24.052 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:24.052 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:24.052 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:32:24.053 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4a227700-7d31-4140-8065-56696a92eab0] [ownerKey=/tidb/stats/owner] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:24.053 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:24.053 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:24.053 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4a227700-7d31-4140-8065-56696a92eab0] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:32:24.053 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:32:24.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:24.054 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.04661ms] [2024/05/23 09:32:24.059 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:32:24.060 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:32:24.060 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:32:24.060 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:32:24.060 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:32:24.060 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestDefaultValueAsExpressions (1.89s) === RUN TestAddColumn2 [2024/05/23 09:32:24.070 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:32:24.071 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:24.071 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:24.072 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:24.072 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:24.072 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:24.074 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7ab8b1b6-490a-452b-9da5-1f97cff31cc6] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:24.080 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:24.080 +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/23 09:32:24.080 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestAddColumn2\n\tpkg/ddl/db_table_test.go:749\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:32:24.084 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.700701ms] [2024/05/23 09:32:24.084 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:24.084 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=9365dbf1-8a37-41d2-92af-9f63c7c0e87a] [runWorker=true] [2024/05/23 09:32:24.084 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:24.084 +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/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:24.084 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:24.084 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:24.084 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:24.084 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:24.084 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:24.085 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:24.085 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:24.085 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:32:24.088 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.088 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:32:24.093 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.098 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.034919ms] [2024/05/23 09:32:24.098 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:24.100 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.100 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:32:24.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=1] ["take time"=6.212189ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:24.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.106 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.109 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:32:24.109 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.109 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:32:24.110 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.114 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.115 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.111 +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/23 09:32:24.120 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.127 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=652.187µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.128 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.128 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:32:24.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=2] ["take time"=4.016377ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.136 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.142 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:32:24.142 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.142 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.145 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.145 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.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/23 09:32:24.150 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.153 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=241.5µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.154 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.154 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:32:24.155 +00:00] [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.981894ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.162 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.166 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:32:24.166 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.167 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.170 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.170 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.168 +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/23 09:32:24.176 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.179 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=273.89µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.180 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.180 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:32:24.181 +00:00] [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.513977ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.185 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.188 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:32:24.188 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.188 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.192 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.192 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.19 +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/23 09:32:24.197 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.202 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=385.626µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.203 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.203 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:32:24.204 +00:00] [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.954778ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.209 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.213 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:32:24.213 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.214 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.216 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.216 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.215 +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/23 09:32:24.221 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.224 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=278.843µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.225 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.225 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:32:24.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=6] ["take time"=2.374826ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.231 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.234 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:32:24.234 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.234 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.237 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.237 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.236 +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/23 09:32:24.241 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.244 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=214.612µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.245 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.245 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:32:24.246 +00:00] [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.101352ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.250 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.253 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:32:24.253 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.253 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.255 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.255 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.254 +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/23 09:32:24.264 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.267 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=250.661µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.269 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.269 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:32:24.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=8] ["take time"=4.737229ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.275 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.278 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:32:24.278 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.279 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.281 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.281 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.28 +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/23 09:32:24.286 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.289 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=179.418µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.289 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.289 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:32:24.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=9] ["take time"=2.415858ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.294 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.297 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:32:24.297 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.297 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.300 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.300 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.299 +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/23 09:32:24.304 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.307 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=212.164µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.308 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.308 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:32:24.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=10] ["take time"=2.985834ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.314 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.317 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:32:24.317 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.317 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.320 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.320 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.319 +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/23 09:32:24.325 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.327 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=200.843µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.328 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.328 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:32:24.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=11] ["take time"=2.327115ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.334 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.337 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:32:24.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.337 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.337 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:24.340 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.340 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.339 +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/23 09:32:24.345 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.348 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=397.843µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.349 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.349 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:32:24.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=12] ["take time"=2.728282ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.355 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.358 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:32:24.358 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.358 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.361 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.361 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.36 +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/23 09:32:24.369 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.372 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=258.441µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.374 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.374 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:32:24.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=13] ["take time"=2.054092ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.379 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.382 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:32:24.382 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.382 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.384 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.384 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.383 +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/23 09:32:24.392 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.396 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=281.804µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.397 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.397 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:32:24.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=14] ["take time"=3.010228ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.402 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.405 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:32:24.405 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.405 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.407 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.407 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.406 +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/23 09:32:24.413 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.415 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=242.46µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.416 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.416 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:32:24.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=15] ["take time"=2.316004ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.421 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.424 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:32:24.424 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.424 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.427 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.427 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.425 +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/23 09:32:24.433 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.435 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=175.774µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.436 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.436 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:32:24.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=16] ["take time"=2.047748ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.443 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.446 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:32:24.446 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.447 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.449 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.449 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.448 +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/23 09:32:24.455 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.457 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=299.068µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.458 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.458 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:32:24.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=17] ["take time"=2.189465ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.464 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.469 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:32:24.469 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.470 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.473 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.473 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.471 +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/23 09:32:24.479 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.481 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=203.423µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.483 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.483 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:32:24.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=18] ["take time"=2.099438ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.487 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.490 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:32:24.490 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.490 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.492 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.492 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.491 +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/23 09:32:24.498 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.501 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=271.47µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.502 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.502 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:32:24.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=19] ["take time"=2.965554ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.508 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.511 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:32:24.511 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.512 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.514 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.514 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.513 +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/23 09:32:24.519 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.521 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=306.126µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.523 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.523 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:32:24.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=20] ["take time"=2.268364ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.527 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.529 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:32:24.529 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.530 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.532 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.532 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.531 +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/23 09:32:24.539 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.541 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=211.523µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.543 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.543 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:32:24.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=21] ["take time"=2.333305ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.547 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.549 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:32:24.549 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.549 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.552 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.552 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.551 +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/23 09:32:24.558 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.566 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=172.676µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.568 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.568 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:32:24.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=22] ["take time"=7.020534ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.577 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.579 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:32:24.579 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.580 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.583 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.583 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.581 +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/23 09:32:24.600 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.606 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=346.12µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.607 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.607 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:32:24.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=23] ["take time"=2.675784ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.613 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.617 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:32:24.617 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.617 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.621 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.621 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.619 +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/23 09:32:24.629 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.632 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=404.694µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.634 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.634 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:32:24.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=24] ["take time"=4.085086ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.643 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.646 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:32:24.646 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.647 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.650 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.650 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.648 +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/23 09:32:24.656 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.659 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=563.898µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.661 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.661 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:32:24.664 +00:00] [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"=5.275494ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.669 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.672 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:32:24.672 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.672 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.674 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.675 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.673 +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/23 09:32:24.681 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.684 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=260.512µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.685 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.685 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:32:24.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=26] ["take time"=2.061754ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.692 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.695 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:32:24.695 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.695 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.697 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.697 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.696 +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/23 09:32:24.703 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.705 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=219.769µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.706 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.706 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:32:24.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=27] ["take time"=3.039761ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.711 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.714 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:32:24.714 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.714 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.716 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.716 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.715 +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/23 09:32:24.722 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.725 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=154.252µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.726 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.726 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:32:24.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=28] ["take time"=3.081242ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.731 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.734 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:32:24.734 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.734 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.734 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:24.736 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.736 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.735 +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/23 09:32:24.743 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.745 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=290.279µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.747 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.747 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:32:24.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=29] ["take time"=2.201792ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.751 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.753 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:32:24.753 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.754 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.756 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.756 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.755 +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/23 09:32:24.765 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.769 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=320.199µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.770 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.770 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:32:24.770 +00:00] [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.241521ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.775 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.779 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:32:24.779 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.779 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.782 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.782 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.78 +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/23 09:32:24.787 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.790 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=301.488µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.791 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.791 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:32:24.792 +00:00] [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.021534ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.797 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.801 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:32:24.801 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.801 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.804 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.804 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.802 +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/23 09:32:24.810 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.813 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=413.557µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.814 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.814 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:32:24.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=32] ["take time"=2.104872ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.819 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.822 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:32:24.822 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.822 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.825 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.825 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.824 +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/23 09:32:24.832 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.834 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=216.855µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.835 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.835 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:32:24.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=33] ["take time"=2.05327ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.842 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.844 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:32:24.844 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.848 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.848 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:32:24.852 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.856 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=302.64µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:24.857 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.857 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:32:24.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=34] ["take time"=2.239011ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:24.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.863 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.867 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:32:24.868 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.868 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.871 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.871 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.869 +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/23 09:32:24.878 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.881 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=208.199µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.882 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.882 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:32:24.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=35] ["take time"=2.630722ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.888 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.892 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:32:24.892 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.892 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.895 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.895 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.894 +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/23 09:32:24.902 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.904 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=182.547µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.906 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.906 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:32:24.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=36] ["take time"=2.142181ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.910 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.912 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:32:24.912 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.913 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.915 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.916 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.914 +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/23 09:32:24.921 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.923 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=239.808µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.924 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.924 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:32:24.925 +00:00] [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.063162ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.929 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.932 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:32:24.932 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.933 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.936 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.936 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.935 +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/23 09:32:24.943 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.948 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=339.145µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.949 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.949 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:32:24.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=38] ["take time"=2.666506ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.954 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.961 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:32:24.961 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.962 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.969 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.966 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.969 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.966 +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/23 09:32:24.976 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.966 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.980 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=371.235µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:24.981 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:24.981 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:32:24.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=39] ["take time"=3.081123ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.966 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.987 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.966 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:24.991 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:32:24.991 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:24.991 +00:00] [INFO] [session.go:3959] ["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/23 09:32:24.994 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:24.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:24.994 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:24.992 +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/23 09:32:25.002 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:24.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.007 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=542.227µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.009 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.009 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:32:25.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=40] ["take time"=4.908216ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:24.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.017 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:24.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.021 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:32:25.021 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.021 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.025 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.025 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.023 +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/23 09:32:25.032 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.037 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=361.181µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.038 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.038 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:32:25.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=41] ["take time"=2.341701ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.044 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.047 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:32:25.048 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.048 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.051 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.051 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.049 +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/23 09:32:25.065 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.070 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=380.396µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.071 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.071 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:32:25.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=42] ["take time"=4.724953ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.079 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.083 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:32:25.083 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.084 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.085 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:32:25.087 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.087 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.085 +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/23 09:32:25.095 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.100 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=370.527µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.101 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.101 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:32:25.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=43] ["take time"=2.019278ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.107 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.111 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:32:25.111 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.112 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.114 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.114 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.113 +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/23 09:32:25.120 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.124 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=271.745µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.125 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.125 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:32:25.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=44] ["take time"=3.008937ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.131 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.135 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:32:25.135 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.135 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.138 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.138 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.137 +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/23 09:32:25.145 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.148 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=251.325µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.149 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.149 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:32:25.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=45] ["take time"=2.453971ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.154 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.158 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:32:25.158 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.158 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.164 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.164 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.16 +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/23 09:32:25.172 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.177 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=559.562µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.179 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.179 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:32:25.181 +00:00] [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.531805ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.186 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.189 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:32:25.189 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.190 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.192 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.192 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.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/23 09:32:25.198 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.201 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=323.476µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.202 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.202 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:32:25.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=47] ["take time"=2.117599ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.207 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.210 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:32:25.210 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.210 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.213 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.213 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.212 +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/23 09:32:25.219 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.222 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=247.248µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.223 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.223 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:32:25.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=48] ["take time"=2.555277ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.228 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.231 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:32:25.231 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.231 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.234 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.234 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.232 +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/23 09:32:25.239 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.242 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=218.218µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.243 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.243 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:32:25.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=49] ["take time"=2.030724ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.248 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.250 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:32:25.250 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.251 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:32:25.253 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.253 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:32:25.258 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.260 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=80.4µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:25.262 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.262 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:32:25.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=50] ["take time"=2.716935ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:25.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.276 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.278 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:32:25.278 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.281 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.281 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.28 +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/23 09:32:25.285 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.287 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=146.051µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:25.288 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.288 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:32:25.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=51] ["take time"=2.017427ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:25.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.294 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.296 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:32:25.296 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.319 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.234521961s] [2024/05/23 09:32:25.319 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=9365dbf1-8a37-41d2-92af-9f63c7c0e87a] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:25.319 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:25.319 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 43, tp add index"] [category=ddl] ["take time"=1.788µs] [2024/05/23 09:32:25.319 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 44, tp add index"] [category=ddl] ["take time"=1.271µs] [2024/05/23 09:32:25.319 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 45, tp add index"] [category=ddl] ["take time"=1.243µs] [2024/05/23 09:32:25.319 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 42, tp add index"] [category=ddl] ["take time"=1.186µs] [2024/05/23 09:32:25.319 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:25.319 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 41, tp general"] [category=ddl] ["take time"=1.313µs] [2024/05/23 09:32:25.319 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:25.319 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:25.319 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:25.322 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=9365dbf1-8a37-41d2-92af-9f63c7c0e87a] ["take time"=2.941244ms] [2024/05/23 09:32:25.322 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=9365dbf1-8a37-41d2-92af-9f63c7c0e87a] [2024/05/23 09:32:25.322 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:25.322 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:25.322 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:25.322 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:25.322 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:25.322 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:25.322 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:25.322 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:25.322 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:25.322 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:25.322 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:25.322 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:25.322 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:25.322 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:25.322 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.138865ms] [2024/05/23 09:32:25.322 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7ab8b1b6-490a-452b-9da5-1f97cff31cc6] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:25.329 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:25.329 +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/23 09:32:25.339 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=9.580925ms] [2024/05/23 09:32:25.339 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:25.339 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=ced682ab-6923-4090-8338-5a55f73b4b57] [runWorker=true] [2024/05/23 09:32:25.340 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:25.340 +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/23 09:32:25.340 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:25.340 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:25.340 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:25.341 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:25.341 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:25.341 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:25.341 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:25.341 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:25.341 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:25.341 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:25.341 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:25.341 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:25.341 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:25.341 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:25.341 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:25.341 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:25.343 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:25.343 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:32:25.352 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:25.355 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:25.356 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:25.356 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:32:25.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:25.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:25.357 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:32:25.358 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:25.358 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:25.358 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:25.358 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:32:25.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:25.363 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:32:25.363 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:32:25.368 +00:00] [INFO] [set.go:170] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:32:25.368 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/23 09:32:25.369 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=51] [cur_db=test] [sql="create table t1 (a int key, b int);"] [user=] [2024/05/23 09:32:25.372 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.372 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (a int key, b int);"] [2024/05/23 09:32:25.377 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=11] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.380 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:32:25.404 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=24.044591ms] [2024/05/23 09:32:25.415 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:25.417 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:32:25.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=52] ["take time"=38.183615ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.422 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=11] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.425 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:32:25.425 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.426 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=52] [cur_db=test] [sql="alter table t1 add column c int not null"] [user=] [2024/05/23 09:32:25.428 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.428 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 add column c int not null"] [2024/05/23 09:32:25.433 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.433 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.433 +00:00] [INFO] [column.go:136] ["run add column job"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"origin_default\":\"0\",\"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/23 09:32:25.433 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.435 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=248.259µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:25.436 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/23 09:32:25.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=53] ["take time"=2.243226ms] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.439 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.443 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.443 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.443 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.445 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=254.945µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:25.447 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/23 09:32:25.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=54] ["take time"=2.033343ms] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.448 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.451 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.451 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.452 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.453 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=244.183µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:25.454 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/23 09:32:25.455 +00:00] [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.08803ms] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.456 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.460 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.461 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.462 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.467 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=306.788µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:25.468 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/23 09:32:25.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=56] ["take time"=2.155876ms] [job="ID:106, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.470 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.474 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=106] [job="ID:106, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.477 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.477 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/23 09:32:25.477 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.480 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=56] [cur_db=test] [sql="create table t2 (a int);"] [user=] [2024/05/23 09:32:25.483 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.483 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t2 (a int);"] [2024/05/23 09:32:25.488 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.488 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, 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-23 09:32:25.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.489 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.490 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=161.047µs] [gotSchemaVersion=57] [phyTblIDs="[107]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.492 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=57] [2024/05/23 09:32:25.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=57] ["take time"=2.249422ms] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.493 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.498 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, 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-23 09:32:25.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.500 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/23 09:32:25.500 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.500 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:108, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.502 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=57] [cur_db=test] [sql="alter table t2 add column b int not null default 3"] [user=] [2024/05/23 09:32:25.503 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.504 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t2 add column b int not null default 3"] [2024/05/23 09:32:25.509 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:109, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.509 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=109] [category=ddl] [job="ID:109, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.509 +00:00] [INFO] [column.go:136] ["run add column job"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"b\",\"L\":\"b\"},\"offset\":1,\"origin_default\":\"3\",\"origin_default_bit\":null,\"default\":\"3\",\"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/23 09:32:25.509 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.511 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=235.735µs] [gotSchemaVersion=58] [phyTblIDs="[107]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:25.512 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=58] [2024/05/23 09:32:25.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=58] ["take time"=2.233447ms] [job="ID:109, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.514 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.516 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.517 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=109] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.517 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.518 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=150.814µs] [gotSchemaVersion=59] [phyTblIDs="[107]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:25.519 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=59] [2024/05/23 09:32:25.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=59] ["take time"=2.673431ms] [job="ID:109, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.522 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.524 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.526 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=109] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.526 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.528 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=214.5µs] [gotSchemaVersion=60] [phyTblIDs="[107]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:25.529 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=60] [2024/05/23 09:32:25.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=60] ["take time"=3.031391ms] [job="ID:109, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.531 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.537 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.538 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=109] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.538 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:109, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.540 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=227.406µs] [gotSchemaVersion=61] [phyTblIDs="[107]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/23 09:32:25.541 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=61] [2024/05/23 09:32:25.542 +00:00] [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.039689ms] [job="ID:109, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.543 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:109, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:4, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.547 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=109] [job="ID:109, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.550 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:32:25.550 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.550 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:109, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.551 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=61] [cur_db=test] [sql="drop table if exists t1, t2"] [user=] [2024/05/23 09:32:25.553 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.553 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1, t2"] [2024/05/23 09:32:25.560 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=11] [category=ddl] [job="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.563 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=88.483µs] [gotSchemaVersion=62] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:25.564 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=62] [2024/05/23 09:32:25.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=62] ["take time"=2.596606ms] [job="ID:110, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.569 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=11] [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-23 09:32:25.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.572 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=35.36µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:25.573 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=63] [2024/05/23 09:32:25.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=63] ["take time"=2.229775ms] [job="ID:110, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.578 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=11] [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-23 09:32:25.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.580 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=40.896µs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:25.581 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=64] [2024/05/23 09:32:25.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=64] ["take time"=2.281652ms] [job="ID:110, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:25.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.586 +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/23 09:32:25.587 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="drop table"] [2024/05/23 09:32:25.587 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=11] [job="ID:110, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:25.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.591 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/23 09:32:25.591 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/23 09:32:25.591 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.593 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.593 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1, t2"] [2024/05/23 09:32:25.597 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=111] [conn=11] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.599 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=57.729µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:25.600 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=65] [2024/05/23 09:32:25.600 +00:00] [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.024032ms] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.606 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=111] [conn=11] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.608 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=42.787µs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:25.609 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=66] [2024/05/23 09:32:25.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=66] ["take time"=2.274615ms] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.613 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=111] [conn=11] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:25.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.615 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=35.42µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:25.616 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=67] [2024/05/23 09:32:25.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=67] ["take time"=2.878661ms] [job="ID:111, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:25.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.621 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=111] [tableIDs="[107]"] [comment="drop table: table ID"] [2024/05/23 09:32:25.622 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=111] [jobType="drop table"] [2024/05/23 09:32:25.622 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=111] [conn=11] [job="ID:111, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:25.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.627 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=111] [elementID=1] [startKey=74800000000000006b] [endKey=74800000000000006c] [2024/05/23 09:32:25.627 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/23 09:32:25.627 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.630 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ced682ab-6923-4090-8338-5a55f73b4b57] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:25.630 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:25.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 48, tp add index"] [category=ddl] ["take time"=1.659µs] [2024/05/23 09:32:25.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 49, tp add index"] [category=ddl] ["take time"=1.347µs] [2024/05/23 09:32:25.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 50, tp add index"] [category=ddl] ["take time"=4.415µs] [2024/05/23 09:32:25.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 47, tp add index"] [category=ddl] ["take time"=1.282µs] [2024/05/23 09:32:25.630 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:25.630 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 46, tp general"] [category=ddl] ["take time"=846ns] [2024/05/23 09:32:25.630 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:25.630 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:25.630 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:25.631 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=ced682ab-6923-4090-8338-5a55f73b4b57] ["take time"=3.481372ms] [2024/05/23 09:32:25.631 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=ced682ab-6923-4090-8338-5a55f73b4b57] [2024/05/23 09:32:25.631 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:32:25.631 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:25.631 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:25.631 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:25.631 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:25.631 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:25.631 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:25.631 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:25.631 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:25.631 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:25.631 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:32:25.632 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:25.632 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:32:25.632 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ced682ab-6923-4090-8338-5a55f73b4b57] [ownerKey=/tidb/stats/owner] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ced682ab-6923-4090-8338-5a55f73b4b57] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:32:25.632 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:25.632 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.830933ms] [2024/05/23 09:32:25.633 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:32:25.633 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:32:25.633 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:32:25.633 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:32:25.633 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:32:25.633 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAddColumn2 (1.57s) === RUN TestError --- PASS: TestError (0.00s) === RUN TestModifyColumnNullToNotNullWithChangingVal2 [2024/05/23 09:32:25.647 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:32:25.648 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:25.648 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:25.648 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:25.648 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:25.649 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:25.651 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=c8c23cf5-66be-42d5-bdb1-4b53b0abfb12] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:25.659 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:25.659 +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/23 09:32:25.659 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestModifyColumnNullToNotNullWithChangingVal2\n\tpkg/ddl/modify_column_test.go:174\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:32:25.676 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=16.883394ms] [2024/05/23 09:32:25.678 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:25.678 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=a12a7893-f5ca-4741-bdf0-8b22c9d22af7] [runWorker=true] [2024/05/23 09:32:25.679 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:25.679 +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/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:25.679 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:25.679 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:25.679 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:25.679 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:25.680 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:25.680 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:25.680 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:32:25.684 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.684 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:32:25.730 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:25.730 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:25.736 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.751 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=13.212243ms] [2024/05/23 09:32:25.753 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:25.754 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.754 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:32:25.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=1] ["take time"=18.970331ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:25.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.770 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.773 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:32:25.773 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.774 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:32:25.774 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.782 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.782 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.776 +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/23 09:32:25.787 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.796 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=873.39µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.797 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.797 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:32:25.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=2] ["take time"=4.230273ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.806 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.813 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:32:25.813 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.813 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.816 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.816 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.815 +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/23 09:32:25.822 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.825 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=235.863µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.826 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.826 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:32:25.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=3] ["take time"=3.055072ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.832 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.836 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:32:25.836 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.836 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.838 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.838 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.837 +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/23 09:32:25.846 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.848 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=212.774µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.850 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.850 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:32:25.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=4] ["take time"=2.321134ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.855 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.860 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:32:25.860 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.866 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.870 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.870 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.868 +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/23 09:32:25.876 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.883 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=520.562µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.885 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.885 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:32:25.885 +00:00] [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.05465ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.890 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.894 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:32:25.894 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.894 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.898 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.898 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.896 +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/23 09:32:25.904 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.909 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=388.273µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.910 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.910 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:32:25.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=6] ["take time"=2.602065ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.915 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.919 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:32:25.919 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.920 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.923 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.923 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.921 +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/23 09:32:25.932 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.937 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=428.029µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.939 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.939 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:32:25.940 +00:00] [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.133724ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.947 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.951 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:32:25.951 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.951 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.955 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.955 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.953 +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/23 09:32:25.965 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.969 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=276.72µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:25.970 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:25.970 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:32:25.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=8] ["take time"=4.187946ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.979 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:25.983 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:32:25.983 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:25.983 +00:00] [INFO] [session.go:3959] ["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/23 09:32:25.987 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:25.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:25.987 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:25.985 +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/23 09:32:25.996 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:25.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.000 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=284.068µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.001 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.001 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:32:26.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=9] ["take time"=4.192647ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:25.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.009 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:25.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.013 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:32:26.013 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.013 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.017 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.017 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.015 +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/23 09:32:26.024 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.026 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=254.729µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.028 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.028 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:32:26.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=10] ["take time"=2.857415ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.040 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.045 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:32:26.045 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.045 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.049 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.049 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.047 +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/23 09:32:26.059 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.067 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=399.333µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.068 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.068 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:32:26.071 +00:00] [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.773346ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.077 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.081 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:32:26.081 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.082 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.082 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:26.086 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.086 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.083 +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/23 09:32:26.092 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.098 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=522.719µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.100 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.100 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:32:26.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=12] ["take time"=4.036891ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.108 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.113 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:32:26.113 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.114 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.118 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.118 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.116 +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/23 09:32:26.125 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.129 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=375.595µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.130 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.130 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:32:26.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=13] ["take time"=2.07429ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.140 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.144 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:32:26.144 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.145 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.148 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.148 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.146 +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/23 09:32:26.156 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.160 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=421.037µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.164 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.164 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:32:26.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=14] ["take time"=6.30752ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.172 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.175 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:32:26.176 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.176 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.180 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.180 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.178 +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/23 09:32:26.190 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.193 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=295.448µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.194 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.194 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:32:26.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=15] ["take time"=2.876244ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.200 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.204 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:32:26.204 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.204 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.207 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.207 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.205 +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/23 09:32:26.216 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.220 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=298.243µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.221 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.221 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:32:26.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=16] ["take time"=4.193393ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.230 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.234 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:32:26.234 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.234 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.238 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.238 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.236 +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/23 09:32:26.248 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.252 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=288.809µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.253 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.254 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:32:26.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=17] ["take time"=2.359095ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.267 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.273 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:32:26.273 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.274 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.280 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.280 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.278 +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/23 09:32:26.288 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.293 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=240.323µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.294 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.294 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:32:26.297 +00:00] [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.440768ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.303 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.307 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:32:26.307 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.308 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.311 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.311 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.309 +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/23 09:32:26.320 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.324 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=386.881µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.325 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.325 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:32:26.328 +00:00] [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.233462ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.334 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.338 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:32:26.338 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.340 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.347 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.347 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.342 +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/23 09:32:26.354 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.357 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=227.763µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.359 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.359 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:32:26.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=20] ["take time"=2.342357ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.368 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.372 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:32:26.372 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.372 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.376 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.376 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.374 +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/23 09:32:26.384 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.387 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=216.66µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.389 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.389 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:32:26.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=21] ["take time"=2.009619ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.398 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.402 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:32:26.402 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.402 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.405 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.405 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.404 +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/23 09:32:26.423 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.425 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=178.152µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.427 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.427 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:32:26.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=22] ["take time"=2.285764ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.433 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.436 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:32:26.436 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.437 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.440 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.440 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.438 +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/23 09:32:26.450 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.455 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=465.195µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.456 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.456 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:32:26.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=23] ["take time"=8.717143ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.470 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.475 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:32:26.475 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.476 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.480 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.480 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.478 +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/23 09:32:26.488 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.492 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=309.081µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.493 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.493 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:32:26.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=24] ["take time"=4.871917ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.502 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.506 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:32:26.506 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.506 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.509 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.509 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.508 +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/23 09:32:26.518 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.521 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=382.813µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.523 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.523 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:32:26.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=25] ["take time"=4.619212ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.531 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.536 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:32:26.536 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.536 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.540 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.540 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.538 +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/23 09:32:26.549 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.553 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=353µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.554 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.554 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:32:26.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=26] ["take time"=4.506156ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.566 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.571 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:32:26.571 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.571 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.574 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.574 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.573 +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/23 09:32:26.583 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.587 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=324.525µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.589 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.589 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:32:26.591 +00:00] [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.639678ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.598 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.603 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:32:26.603 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.603 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.607 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.607 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.605 +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/23 09:32:26.617 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.621 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=285.459µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.622 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.622 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:32:26.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=28] ["take time"=4.562064ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.632 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.641 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:32:26.641 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.641 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.642 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:26.646 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.646 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.644 +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/23 09:32:26.659 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.665 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=473.9µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.667 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.667 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:32:26.670 +00:00] [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"=5.489806ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.676 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.680 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:32:26.681 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:32:26.681 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.682 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.686 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.686 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.684 +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/23 09:32:26.698 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.702 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=297.251µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.704 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.704 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:32:26.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=30] ["take time"=4.57786ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.713 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.684 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.717 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:32:26.718 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.718 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.722 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.722 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.72 +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/23 09:32:26.729 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.733 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=425.629µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.735 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.735 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:32:26.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=31] ["take time"=2.597363ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.742 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.745 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:32:26.745 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.746 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.750 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.751 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.748 +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/23 09:32:26.765 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.771 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=460.215µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.773 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.773 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:32:26.775 +00:00] [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.950435ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.782 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.786 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:32:26.786 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.787 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.790 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.790 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.789 +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/23 09:32:26.800 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.803 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=206.024µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.805 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.805 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:32:26.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=33] ["take time"=2.306726ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.812 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.816 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:32:26.816 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.821 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.821 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:32:26.829 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.834 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=568.88µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:26.835 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.835 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:32:26.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=34] ["take time"=4.12426ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:26.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.843 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.848 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:32:26.848 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.849 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.853 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.853 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.851 +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/23 09:32:26.865 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.870 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=367.188µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.872 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.872 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:32:26.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=35] ["take time"=4.057505ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.881 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.885 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:32:26.885 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.885 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.889 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.889 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.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/23 09:32:26.896 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.899 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=215.612µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.901 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.901 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:32:26.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=36] ["take time"=4.353499ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.909 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.913 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:32:26.913 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.913 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.917 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.917 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.915 +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/23 09:32:26.926 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=232.736µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.931 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.931 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:32:26.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=37] ["take time"=2.136561ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.940 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.944 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:32:26.944 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.945 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.948 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.948 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.946 +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/23 09:32:26.957 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.966 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=2.016704ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:26.969 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:26.969 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:32:26.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=38] ["take time"=6.864757ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.977 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.982 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:32:26.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:26.983 +00:00] [INFO] [session.go:3959] ["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/23 09:32:26.987 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:26.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:26.987 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:26.985 +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/23 09:32:26.995 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:26.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:26.999 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=405.98µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.001 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.001 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:32:27.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=39] ["take time"=4.037503ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:26.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.009 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:26.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.014 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:32:27.014 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.014 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.019 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.019 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.016 +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/23 09:32:27.027 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.032 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=544.936µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.034 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.034 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:32:27.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=40] ["take time"=4.172927ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.042 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.047 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:32:27.047 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.048 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.052 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.052 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.05 +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/23 09:32:27.061 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.067 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=550.2µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.069 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.069 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:32:27.071 +00:00] [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.598226ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.077 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.082 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:32:27.082 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.083 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.087 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.087 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.085 +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/23 09:32:27.096 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.100 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=423.784µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.102 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.102 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:32:27.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=42] ["take time"=4.575802ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.111 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.116 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:32:27.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.117 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.121 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.121 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.119 +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/23 09:32:27.129 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.133 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=546.256µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.135 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.135 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:32:27.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=43] ["take time"=4.103735ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.142 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.147 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:32:27.147 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.148 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.152 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.152 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.15 +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/23 09:32:27.159 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.164 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=443.148µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.166 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.166 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:32:27.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=44] ["take time"=4.044705ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.173 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.177 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:32:27.177 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.178 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.182 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.182 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.18 +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/23 09:32:27.190 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.194 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=353.598µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.196 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.196 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:32:27.197 +00:00] [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.698188ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.202 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.207 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:32:27.207 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.208 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.213 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.213 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.21 +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/23 09:32:27.219 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.225 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=650.338µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.227 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.227 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:32:27.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=46] ["take time"=4.371705ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.240 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.244 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:32:27.244 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.245 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.248 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.248 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.247 +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/23 09:32:27.258 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.263 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=459.491µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.265 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.265 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:32:27.267 +00:00] [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.289853ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.273 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.277 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:32:27.277 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.278 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.282 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.282 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.28 +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/23 09:32:27.289 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.291 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=279.737µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.293 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.293 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:32:27.295 +00:00] [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.056353ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.301 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.28 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.305 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:32:27.305 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.305 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.309 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.309 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.307 +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/23 09:32:27.316 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.320 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=279.83µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.322 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.322 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:32:27.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=49] ["take time"=4.119962ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.328 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.331 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:32:27.331 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.332 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:32:27.334 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.335 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:32:27.340 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.346 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=72.553µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:27.348 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.348 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:32:27.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=50] ["take time"=2.871078ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:27.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.354 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.357 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:32:27.358 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.363 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.363 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.361 +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/23 09:32:27.373 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.376 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=246.078µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:27.378 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.378 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:32:27.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=51] ["take time"=2.313233ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.391 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.395 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:32:27.395 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.423 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.744035479s] [2024/05/23 09:32:27.424 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a12a7893-f5ca-4741-bdf0-8b22c9d22af7] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:27.424 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:27.424 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 55, tp add index"] [category=ddl] ["take time"=8.678µs] [2024/05/23 09:32:27.424 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 52, tp add index"] [category=ddl] ["take time"=10.914µs] [2024/05/23 09:32:27.424 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 53, tp add index"] [category=ddl] ["take time"=13.656µs] [2024/05/23 09:32:27.424 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 54, tp add index"] [category=ddl] ["take time"=22.469µs] [2024/05/23 09:32:27.424 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:27.424 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 51, tp general"] [category=ddl] ["take time"=1.37µs] [2024/05/23 09:32:27.424 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:27.424 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:27.424 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:27.428 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=a12a7893-f5ca-4741-bdf0-8b22c9d22af7] ["take time"=4.453265ms] [2024/05/23 09:32:27.428 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=a12a7893-f5ca-4741-bdf0-8b22c9d22af7] [2024/05/23 09:32:27.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:27.428 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:27.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:27.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:27.428 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:27.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:27.428 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:27.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:27.428 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:27.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:27.428 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:27.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:27.428 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:27.428 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:27.428 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.833645ms] [2024/05/23 09:32:27.428 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=c8c23cf5-66be-42d5-bdb1-4b53b0abfb12] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:27.435 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:27.435 +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/23 09:32:27.466 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=30.423055ms] [2024/05/23 09:32:27.477 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:27.477 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=377437e6-d672-4596-a370-513e432e0fd9] [runWorker=true] [2024/05/23 09:32:27.479 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:27.479 +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/23 09:32:27.479 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:27.479 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:27.479 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:27.479 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:27.479 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:27.479 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:27.480 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:27.486 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:27.486 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:32:27.502 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:27.506 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:27.508 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:27.508 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:32:27.509 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:27.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:27.510 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:32:27.511 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:27.511 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:27.511 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:27.512 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:32:27.513 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:27.513 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:32:27.513 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:32:27.519 +00:00] [INFO] [set.go:170] ["set global var"] [conn=12] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:32:27.520 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=test] [sql="drop table if exists tt;"] [user=] [2024/05/23 09:32:27.521 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=test] [sql="create table tt (a bigint, b int, unique index idx(a));"] [user=] [2024/05/23 09:32:27.524 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.524 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table tt (a bigint, b int, unique index idx(a));"] [2024/05/23 09:32:27.529 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, 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-23 09:32:27.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.531 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=198.648µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.533 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:32:27.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=52] ["take time"=2.042408ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.538 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, 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-23 09:32:27.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.540 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:32:27.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.542 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=52] [cur_db=test] [sql="alter table tt modify a int not null;"] [user=] [2024/05/23 09:32:27.545 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/23 09:32:27.546 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table tt modify a int not null;"] [2024/05/23 09:32:27.554 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=106] [conn=12] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:27.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:27.558 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=335.289µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:32:27.560 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/23 09:32:27.563 +00:00] [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.531694ms] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-23 09:32:27.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:27.571 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=106] [conn=12] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:27.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:27.572 +00:00] [WARN] [ddl_worker.go:1171] ["run DDL job error"] [worker="worker 58, tp add index"] [category=ddl] [jobID=106] [conn=12] [error="[ddl:1265]Data truncated for column 'a' at row 1"] [errorVerbose="[ddl:1265]Data truncated for column 'a' 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:1782\ngithub.com/pingcap/tidb/pkg/ddl.modifyColsFromNull2NotNull\n\tpkg/ddl/column.go:1939\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).doModifyColumnTypeWithData\n\tpkg/ddl/column.go:739\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onModifyColumn\n\tpkg/ddl/column.go:622\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1276\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:965\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:462\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/23 09:32:27.573 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:32:27.579 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=106] [conn=12] [category=ddl] [job="ID:106, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:27.544 +0000 UTC, Err:[ddl:1265]Data truncated for column 'a' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:27.582 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=253.679µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/23 09:32:27.583 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/23 09:32:27.583 +00:00] [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.096889ms] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.544 +0000 UTC, Err:[ddl:1265]Data truncated for column 'a' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:27.590 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[2]"] [comment="modify column: table ID"] [2024/05/23 09:32:27.591 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="modify column"] [2024/05/23 09:32:27.592 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=106] [conn=12] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.544 +0000 UTC, Err:[ddl:1265]Data truncated for column 'a' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/23 09:32:27.595 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/23 09:32:27.595 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=1] [startKey=7480000000000000685f698000000000000002] [endKey=7480000000000000685f698000000000000003] [2024/05/23 09:32:27.597 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=106] [2024/05/23 09:32:27.597 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:27.598 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[ddl:1265]Data truncated for column 'a' at row 1"] [errorVerbose="[ddl:1265]Data truncated for column 'a' 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:1322\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6317\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:430\ngithub.com/pingcap/tidb/pkg/ddl_test.TestModifyColumnNullToNotNullWithChangingVal2\n\tpkg/ddl/modify_column_test.go:186\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 12,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:32:27.598 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=54] [cur_db=test] [sql="drop table tt"] [user=] [2024/05/23 09:32:27.600 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.600 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table tt"] [2024/05/23 09:32:27.607 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=107] [conn=12] [category=ddl] [job="ID:107, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:27.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.610 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=90.661µs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:27.611 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=55] [2024/05/23 09:32:27.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=55] ["take time"=3.05334ms] [job="ID:107, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.617 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=107] [conn=12] [category=ddl] [job="ID:107, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:27.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.619 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=63.373µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:27.620 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=56] [2024/05/23 09:32:27.622 +00:00] [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"=3.224926ms] [job="ID:107, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:27.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.627 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=107] [conn=12] [category=ddl] [job="ID:107, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:27.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.630 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=77.669µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:27.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=57] [2024/05/23 09:32:27.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=57] ["take time"=2.01653ms] [job="ID:107, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:27.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.637 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=107] [tableIDs="[104]"] [comment="drop table: table ID"] [2024/05/23 09:32:27.638 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="drop table"] [2024/05/23 09:32:27.638 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=107] [conn=12] [job="ID:107, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:27.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.642 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=107] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/23 09:32:27.643 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:32:27.643 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.645 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=377437e6-d672-4596-a370-513e432e0fd9] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:27.645 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:27.645 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 57, tp add index"] [category=ddl] ["take time"=1.651µs] [2024/05/23 09:32:27.645 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 58, tp add index"] [category=ddl] ["take time"=1.309µs] [2024/05/23 09:32:27.645 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 59, tp add index"] [category=ddl] ["take time"=1.162µs] [2024/05/23 09:32:27.645 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 60, tp add index"] [category=ddl] ["take time"=1.156µs] [2024/05/23 09:32:27.645 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:27.645 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 56, tp general"] [category=ddl] ["take time"=1.09µs] [2024/05/23 09:32:27.645 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:27.645 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:27.645 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:27.646 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=377437e6-d672-4596-a370-513e432e0fd9] ["take time"=2.603106ms] [2024/05/23 09:32:27.646 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=377437e6-d672-4596-a370-513e432e0fd9] [2024/05/23 09:32:27.646 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:32:27.646 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:27.646 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:27.646 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:27.646 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:27.646 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:27.646 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:27.646 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:27.646 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:27.646 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:27.646 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:27.647 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=377437e6-d672-4596-a370-513e432e0fd9] [ownerKey=/tidb/stats/owner] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:27.647 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:27.647 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:32:27.647 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:27.647 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:32:27.647 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=377437e6-d672-4596-a370-513e432e0fd9] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:27.647 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:27.647 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:32:27.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:27.648 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.592366ms] [2024/05/23 09:32:27.648 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:32:27.649 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:32:27.649 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:32:27.649 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:32:27.649 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:32:27.649 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestModifyColumnNullToNotNullWithChangingVal2 (2.02s) === RUN TestDropTableGCPlacement [2024/05/23 09:32:27.652 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:32:27.652 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:27.652 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:27.652 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:27.652 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:27.653 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:27.655 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=bf7c4401-880d-44f7-8685-21fbc53baafe] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:27.662 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:27.662 +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/23 09:32:27.662 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestDropTableGCPlacement\n\tpkg/ddl/placement_policy_test.go:1371\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:32:27.685 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=22.797543ms] [2024/05/23 09:32:27.687 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:27.687 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=0f9e168a-d6b3-48f4-ac77-6eaa5c9fde01] [runWorker=true] [2024/05/23 09:32:27.687 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:27.687 +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/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:27.687 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:27.687 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:27.687 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:27.687 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:27.687 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:27.687 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:27.688 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:27.688 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:32:27.691 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.691 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:32:27.697 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.711 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=11.557593ms] [2024/05/23 09:32:27.713 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:27.714 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.714 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:32:27.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=1] ["take time"=16.964557ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:27.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.722 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.725 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:32:27.725 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.725 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:32:27.726 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.732 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.732 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.728 +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/23 09:32:27.737 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.747 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.294163ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.749 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.749 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:32:27.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=2] ["take time"=4.113694ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.755 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.763 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:32:27.763 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.763 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.766 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.766 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.764 +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/23 09:32:27.772 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.774 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=245.938µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.775 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.775 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:32:27.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=3] ["take time"=2.538373ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.780 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.782 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:32:27.782 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.782 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.785 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.785 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.784 +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/23 09:32:27.789 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.791 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=188.659µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.792 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.792 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:32:27.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=4] ["take time"=2.008021ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.799 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.784 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.801 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:32:27.801 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.802 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.804 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.804 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.803 +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/23 09:32:27.808 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.813 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=473.296µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.814 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.814 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:32:27.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=5] ["take time"=2.433126ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.818 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.821 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:32:27.822 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.822 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.824 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.824 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.823 +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/23 09:32:27.828 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.831 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=269.157µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.832 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.832 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:32:27.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=6] ["take time"=2.020542ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.837 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.840 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:32:27.840 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.840 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.843 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.841 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.843 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.841 +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/23 09:32:27.850 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.841 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.855 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=310.722µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.856 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.856 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:32:27.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=7] ["take time"=4.403682ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.841 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.865 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.841 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.870 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:32:27.870 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.871 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.878 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.879 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.873 +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/23 09:32:27.889 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.892 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=279.362µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.894 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.894 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:32:27.895 +00:00] [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.009105ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.905 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.908 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:32:27.908 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.908 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.912 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.912 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.91 +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/23 09:32:27.917 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.920 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=268.357µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.921 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.921 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:32:27.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=9] ["take time"=2.887576ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.927 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.929 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:32:27.929 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.929 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.931 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.932 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.93 +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/23 09:32:27.940 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.942 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=241.767µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.944 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.944 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:32:27.944 +00:00] [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.124431ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.951 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.953 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:32:27.953 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.954 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.956 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.956 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.955 +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/23 09:32:27.966 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.969 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=373.205µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.971 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.971 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:32:27.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=11] ["take time"=4.331849ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.978 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.982 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:32:27.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:27.982 +00:00] [INFO] [session.go:3959] ["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/23 09:32:27.983 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:27.986 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:27.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:27.986 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:27.984 +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/23 09:32:27.992 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:27.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:27.995 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=311.965µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:27.996 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:27.996 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:32:27.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=12] ["take time"=2.039912ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:27.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.002 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:27.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.006 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:32:28.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.007 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.010 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.010 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.008 +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/23 09:32:28.015 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.018 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=259.042µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.019 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.019 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:32:28.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=13] ["take time"=2.771614ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.025 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.029 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:32:28.029 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.029 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.032 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.032 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.03 +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/23 09:32:28.038 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.041 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=231.11µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.042 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.042 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:32:28.043 +00:00] [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.040263ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.050 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.052 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:32:28.052 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.053 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.055 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.055 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.054 +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/23 09:32:28.066 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.069 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=286.414µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.070 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.070 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:32:28.071 +00:00] [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.293181ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.075 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.078 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:32:28.079 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.079 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.082 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.082 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.081 +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/23 09:32:28.088 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.091 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=253.743µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.092 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.092 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:32:28.093 +00:00] [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.481946ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.097 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.100 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:32:28.100 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.100 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.109 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.109 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.102 +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/23 09:32:28.115 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.118 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=276.559µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.119 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.119 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:32:28.120 +00:00] [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"=3.04865ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.124 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.128 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:32:28.128 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.128 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.131 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.131 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.13 +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/23 09:32:28.137 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.140 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=298.192µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.141 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.141 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:32:28.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=18] ["take time"=2.031362ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.147 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.150 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:32:28.150 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.150 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.154 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.154 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.152 +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/23 09:32:28.161 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.166 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=539.26µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.168 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.168 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:32:28.170 +00:00] [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.44366ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.176 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.180 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:32:28.180 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.182 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.186 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.186 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.184 +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/23 09:32:28.192 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.195 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=426.246µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.197 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.197 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:32:28.199 +00:00] [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.070376ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.204 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.208 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:32:28.208 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.208 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.212 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.212 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.21 +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/23 09:32:28.219 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.221 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=236.85µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.223 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.223 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:32:28.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=21] ["take time"=2.073366ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.227 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.230 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:32:28.230 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.230 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.233 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.234 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.232 +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/23 09:32:28.241 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.244 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=185.211µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.245 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.245 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:32:28.246 +00:00] [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.072305ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.253 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.256 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:32:28.256 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.256 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.261 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.261 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.258 +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/23 09:32:28.269 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.273 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=360.568µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.274 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.275 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:32:28.275 +00:00] [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.236365ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.280 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.283 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:32:28.283 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.284 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.287 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.287 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.285 +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/23 09:32:28.293 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.297 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=311.831µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.299 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.299 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:32:28.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=24] ["take time"=2.039161ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.303 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.306 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:32:28.306 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.307 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.310 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.310 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.308 +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/23 09:32:28.315 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.317 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=190.605µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.318 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.318 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:32:28.321 +00:00] [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.397858ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.326 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.329 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:32:28.329 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.329 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.332 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.332 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.331 +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/23 09:32:28.338 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.341 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=226.879µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.342 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.342 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:32:28.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=26] ["take time"=2.010736ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.348 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.351 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:32:28.351 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.351 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.354 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.354 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.353 +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/23 09:32:28.364 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.368 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=264.898µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.369 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.369 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:32:28.370 +00:00] [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.725895ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.374 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.377 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:32:28.377 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.378 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.381 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.381 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.379 +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/23 09:32:28.389 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.391 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=171.494µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.392 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.392 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:32:28.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=28] ["take time"=2.070623ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.397 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.401 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:32:28.401 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.401 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.401 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:28.405 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.405 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.403 +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/23 09:32:28.411 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.414 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=377.273µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.416 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.416 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:32:28.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=29] ["take time"=4.551503ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.423 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.426 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:32:28.426 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.426 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.430 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.430 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.428 +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/23 09:32:28.437 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.441 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=504.086µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.443 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.443 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:32:28.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=30] ["take time"=4.700978ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.451 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.455 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:32:28.455 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.455 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.460 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.460 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.456 +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/23 09:32:28.467 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.470 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=272.226µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.472 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.472 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:32:28.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=31] ["take time"=2.898025ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.477 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.481 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:32:28.481 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.482 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.485 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.485 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.483 +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/23 09:32:28.493 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.496 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=331.566µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.497 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.497 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:32:28.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=32] ["take time"=2.147101ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.503 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.507 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:32:28.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.507 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.511 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.511 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.509 +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/23 09:32:28.518 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.521 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=178.085µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.522 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.522 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:32:28.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=33] ["take time"=2.846434ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.528 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.531 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:32:28.531 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.535 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.535 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:32:28.544 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.547 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=264.558µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:28.548 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.548 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:32:28.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=34] ["take time"=2.028514ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:28.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.553 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.556 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:32:28.556 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.556 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.559 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.559 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.558 +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/23 09:32:28.569 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.572 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=218.731µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.573 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.573 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:32:28.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=35] ["take time"=2.844322ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.579 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.583 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:32:28.583 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.583 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.586 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.586 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.585 +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/23 09:32:28.594 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.597 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=281.859µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.598 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.598 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:32:28.600 +00:00] [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.042889ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.607 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.611 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:32:28.611 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.611 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.615 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.615 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.613 +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/23 09:32:28.620 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.623 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=250.376µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.624 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.624 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:32:28.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=37] ["take time"=2.461343ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.630 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.633 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:32:28.633 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.633 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.636 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.636 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.634 +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/23 09:32:28.642 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.646 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=350.901µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.647 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.647 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:32:28.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=38] ["take time"=2.87403ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.652 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.655 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:32:28.655 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.655 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.659 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.659 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.656 +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/23 09:32:28.668 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.672 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=389.958µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.674 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.674 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:32:28.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=39] ["take time"=4.101244ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.682 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.686 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:32:28.686 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.686 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.688 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:32:28.691 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.691 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.688 +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/23 09:32:28.701 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.706 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=767.106µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.708 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.708 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:32:28.710 +00:00] [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"=5.043921ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.715 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.720 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:32:28.720 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.720 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.724 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.722 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.724 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.722 +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/23 09:32:28.730 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.722 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.735 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=350.464µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.736 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.736 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:32:28.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=41] ["take time"=2.54915ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.722 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.746 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.722 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.751 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:32:28.751 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.752 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.756 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.756 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.754 +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/23 09:32:28.765 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.774 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=529.496µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.776 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.776 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:32:28.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=42] ["take time"=4.849636ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.784 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.789 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:32:28.789 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.789 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.794 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.794 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.791 +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/23 09:32:28.802 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.807 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=589.957µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.809 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.809 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:32:28.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=43] ["take time"=4.461867ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.816 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.821 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:32:28.821 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.821 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.825 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.825 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.823 +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/23 09:32:28.833 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.837 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=468.533µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.839 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.839 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:32:28.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=44] ["take time"=4.188875ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.847 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.823 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.850 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:32:28.850 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.850 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.854 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.854 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.852 +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/23 09:32:28.864 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.869 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=330.751µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.870 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.870 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:32:28.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=45] ["take time"=4.544055ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.880 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.884 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:32:28.884 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.885 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.889 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.889 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.887 +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/23 09:32:28.896 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.901 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=542.323µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.902 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.902 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:32:28.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=46] ["take time"=4.882856ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.910 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.915 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:32:28.915 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.915 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.919 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.919 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.917 +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/23 09:32:28.925 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=280.531µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.930 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.930 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:32:28.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=47] ["take time"=4.837261ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.939 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.943 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:32:28.943 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.943 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.948 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.948 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.947 +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/23 09:32:28.955 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.958 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=703.659µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:28.960 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:28.960 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:32:28.977 +00:00] [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"=19.597787ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.983 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:28.986 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:32:28.986 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:28.986 +00:00] [INFO] [session.go:3959] ["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/23 09:32:28.989 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:28.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:28.990 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:28.988 +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/23 09:32:28.998 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:28.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.001 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=284.183µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.003 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.003 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:32:29.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=49] ["take time"=2.851995ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:28.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.010 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:28.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.014 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:32:29.014 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.014 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:32:29.017 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.017 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:32:29.025 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.028 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=86.121µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:29.029 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.029 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:32:29.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=50] ["take time"=2.37822ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:29.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.034 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.037 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:32:29.037 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.041 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.041 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.04 +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/23 09:32:29.050 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.053 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=313.471µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:29.055 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.055 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:32:29.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=51] ["take time"=7.299973ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:29.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.074 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.077 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:32:29.077 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.109 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.421680909s] [2024/05/23 09:32:29.109 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=0f9e168a-d6b3-48f4-ac77-6eaa5c9fde01] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:29.109 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:29.109 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 63, tp add index"] [category=ddl] ["take time"=3.949µs] [2024/05/23 09:32:29.109 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 64, tp add index"] [category=ddl] ["take time"=4.889µs] [2024/05/23 09:32:29.109 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 65, tp add index"] [category=ddl] ["take time"=5.283µs] [2024/05/23 09:32:29.109 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 62, tp add index"] [category=ddl] ["take time"=2.223µs] [2024/05/23 09:32:29.109 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:29.110 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 61, tp general"] [category=ddl] ["take time"=1.195µs] [2024/05/23 09:32:29.110 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:29.110 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:29.110 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:29.115 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=0f9e168a-d6b3-48f4-ac77-6eaa5c9fde01] ["take time"=6.102492ms] [2024/05/23 09:32:29.115 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=0f9e168a-d6b3-48f4-ac77-6eaa5c9fde01] [2024/05/23 09:32:29.115 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:29.115 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:29.115 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:29.115 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:29.116 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:29.116 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:29.116 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:29.116 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:29.116 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:29.116 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:29.116 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:29.116 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:29.116 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:29.116 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:29.116 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.364588ms] [2024/05/23 09:32:29.116 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=bf7c4401-880d-44f7-8685-21fbc53baafe] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/23 09:32:29.122 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:29.122 +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/23 09:32:29.152 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=30.202718ms] [2024/05/23 09:32:29.171 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:29.171 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=61638480-49aa-4ccd-892e-d80af4730491] [runWorker=true] [2024/05/23 09:32:29.171 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:29.171 +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/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:29.171 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:29.171 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:29.171 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:29.171 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:29.171 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:29.171 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:29.172 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:29.181 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:29.181 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:32:29.198 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:29.202 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:29.204 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:29.205 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:32:29.205 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:29.205 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:29.205 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:32:29.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:29.206 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:29.206 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:29.206 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:32:29.208 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:29.208 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:32:29.208 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:32:29.209 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t0,t1"] [user=] [2024/05/23 09:32:29.215 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.215 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p1 primary_region='r0' regions='r0'"] [2024/05/23 09:32:29.221 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=104] [conn=13] [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-23 09:32:29.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.224 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\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:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:926\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1294\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/23 09:32:29.239 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=15.327124ms] [2024/05/23 09:32:29.240 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:29.242 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=104] [version=52] [2024/05/23 09:32:29.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=52] ["take time"=20.291912ms] [job="ID:104, Type:create placement policy, State:done, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.250 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=104] [conn=13] [job="ID:104, Type:create placement policy, State:synced, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.254 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=104] [2024/05/23 09:32:29.254 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.260 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.260 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p2 primary_region='r1' regions='r1'"] [2024/05/23 09:32:29.271 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=13] [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-23 09:32:29.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.274 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=115.461µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"] [2024/05/23 09:32:29.276 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=53] [2024/05/23 09:32:29.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=53] ["take time"=4.118795ms] [job="ID:105, Type:create placement policy, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.286 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=13] [job="ID:105, Type:create placement policy, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.290 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:32:29.290 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.290 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=53] [cur_db=test] [sql="create table t0 (id int)"] [user=] [2024/05/23 09:32:29.297 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.297 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t0 (id int)"] [2024/05/23 09:32:29.303 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=13] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.306 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=210.12µs] [gotSchemaVersion=54] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.308 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=54] [2024/05/23 09:32:29.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=54] ["take time"=4.147946ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.316 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=13] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.319 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:32:29.319 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.319 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=54] [cur_db=test] [sql="create table t1 (id int) placement policy p1"] [user=] [2024/05/23 09:32:29.323 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.323 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (id int) placement policy p1"] [2024/05/23 09:32:29.333 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=13] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.337 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=288.935µs] [gotSchemaVersion=55] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.338 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=55] [2024/05/23 09:32:29.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=55] ["take time"=2.103188ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.344 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=13] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.347 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:32:29.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.348 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=55] [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)\n\t)"] [user=] [2024/05/23 09:32:29.352 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.352 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.35 +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)\n\t)"] [2024/05/23 09:32:29.361 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=113] [conn=13] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.365 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=906.272µs] [gotSchemaVersion=56] [phyTblIDs="[110,111,112]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.367 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2024/05/23 09:32:29.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=56] ["take time"=4.716352ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.376 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=113] [conn=13] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.381 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/23 09:32:29.381 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.381 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=56] [cur_db=test] [sql="drop table t2"] [user=] [2024/05/23 09:32:29.384 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.384 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t2"] [2024/05/23 09:32:29.393 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=114] [conn=13] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.396 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=71.249µs] [gotSchemaVersion=57] [phyTblIDs="[110,111,112]"] [actionTypes="[4,4,4]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:29.397 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2024/05/23 09:32:29.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=57] ["take time"=2.595116ms] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.404 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=114] [conn=13] [category=ddl] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.406 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=53.059µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:29.408 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2024/05/23 09:32:29.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=58] ["take time"=2.81751ms] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.415 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=114] [conn=13] [category=ddl] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.418 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=95.417µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:29.420 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59] [2024/05/23 09:32:29.421 +00:00] [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"=3.019882ms] [job="ID:114, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:29.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.429 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=114] [tableIDs="[111,112]"] [comment="drop table: partition table IDs"] [2024/05/23 09:32:29.430 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=114] [tableIDs="[110]"] [comment="drop table: table ID"] [2024/05/23 09:32:29.431 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop table"] [2024/05/23 09:32:29.432 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=114] [conn=13] [job="ID:114, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:29.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.438 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/23 09:32:29.438 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.438 +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.TestDropTableGCPlacement\n\tpkg/ddl/placement_policy_test.go:1408\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] [2024/05/23 09:32:29.441 +00:00] [INFO] [gc_worker.go:822] ["start delete ranges"] [category="gc worker"] [uuid=63e932de5f80001] [ranges=3] [2024/05/23 09:32:29.444 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=111] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000p"] [safePoint=9223372036854775807] [2024/05/23 09:32:29.444 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-111-r] [2024/05/23 09:32:29.444 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=112] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000p"] [safePoint=9223372036854775807] [2024/05/23 09:32:29.444 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-112-r] [2024/05/23 09:32:29.444 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=110] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000p"] [safePoint=9223372036854775807] [2024/05/23 09:32:29.444 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-110-r] [2024/05/23 09:32:29.450 +00:00] [INFO] [gc_worker.go:875] ["finish delete ranges"] [category="gc worker"] [uuid=63e932de5f80001] ["num of ranges"=3] ["cost time"=8.812751ms] [2024/05/23 09:32:29.450 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=59] [cur_db=test] [sql="drop table if exists t2"] [user=] [2024/05/23 09:32:29.451 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=59] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/23 09:32:29.453 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.453 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/23 09:32:29.471 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=115] [conn=13] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.474 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=64.042µs] [gotSchemaVersion=60] [phyTblIDs="[108]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:29.476 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=60] [2024/05/23 09:32:29.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=60] ["take time"=4.412918ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.486 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=115] [conn=13] [category=ddl] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.491 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=54.153µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:29.493 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=61] [2024/05/23 09:32:29.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=61] ["take time"=5.015665ms] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.501 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=115] [conn=13] [category=ddl] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.504 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=53.323µs] [gotSchemaVersion=62] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:29.506 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=62] [2024/05/23 09:32:29.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=62] ["take time"=5.767485ms] [job="ID:115, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:29.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.516 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=115] [tableIDs="[108]"] [comment="drop table: table ID"] [2024/05/23 09:32:29.517 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop table"] [2024/05/23 09:32:29.518 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=115] [conn=13] [job="ID:115, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:29.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.524 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/23 09:32:29.524 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.525 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=62] [cur_db=test] [sql="drop table if exists t0"] [user=] [2024/05/23 09:32:29.529 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.530 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t0"] [2024/05/23 09:32:29.537 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=116] [conn=13] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.540 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=120.945µs] [gotSchemaVersion=63] [phyTblIDs="[106]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:29.542 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=63] [2024/05/23 09:32:29.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=63] ["take time"=4.228807ms] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.551 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=116] [conn=13] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.553 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=49.286µs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:29.555 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=64] [2024/05/23 09:32:29.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=64] ["take time"=6.748554ms] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.569 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=116] [conn=13] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.573 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=81.618µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:29.574 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=65] [2024/05/23 09:32:29.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=65] ["take time"=3.009936ms] [job="ID:116, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.582 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[106]"] [comment="drop table: table ID"] [2024/05/23 09:32:29.583 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop table"] [2024/05/23 09:32:29.584 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=116] [conn=13] [job="ID:116, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:29.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.590 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/23 09:32:29.590 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.595 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.595 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p2"] [2024/05/23 09:32:29.602 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.605 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=56.794µs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/23 09:32:29.607 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=66] [2024/05/23 09:32:29.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=66] ["take time"=4.591766ms] [job="ID:117, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.615 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.617 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=39.982µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/23 09:32:29.619 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=67] [2024/05/23 09:32:29.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=67] ["take time"=2.069604ms] [job="ID:117, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.628 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.630 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=47.142µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/23 09:32:29.632 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=68] [2024/05/23 09:32:29.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=68] ["take time"=3.015184ms] [job="ID:117, Type:drop placement policy, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.639 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=117] [conn=13] [job="ID:117, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.642 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/23 09:32:29.642 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.645 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:29.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.645 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:118, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:29.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p1"] [2024/05/23 09:32:29.652 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=118] [conn=13] [category=ddl] [job="ID:118, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.654 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=39.077µs] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/23 09:32:29.656 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=69] [2024/05/23 09:32:29.663 +00:00] [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"=8.641547ms] [job="ID:118, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.672 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=118] [conn=13] [category=ddl] [job="ID:118, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.675 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=28.472µs] [gotSchemaVersion=70] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/23 09:32:29.676 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=70] [2024/05/23 09:32:29.679 +00:00] [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"=4.296268ms] [job="ID:118, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.685 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=118] [conn=13] [category=ddl] [job="ID:118, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.687 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=41.04µs] [gotSchemaVersion=71] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/23 09:32:29.689 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=71] [2024/05/23 09:32:29.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=71] ["take time"=4.651964ms] [job="ID:118, Type:drop placement policy, State:done, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.698 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=118] [conn=13] [job="ID:118, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:29.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.704 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/23 09:32:29.704 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.707 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=61638480-49aa-4ccd-892e-d80af4730491] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:29.707 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:29.707 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 69, tp add index"] [category=ddl] ["take time"=2.421µs] [2024/05/23 09:32:29.707 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 70, tp add index"] [category=ddl] ["take time"=1.749µs] [2024/05/23 09:32:29.707 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 67, tp add index"] [category=ddl] ["take time"=1.062µs] [2024/05/23 09:32:29.707 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 68, tp add index"] [category=ddl] ["take time"=1.108µs] [2024/05/23 09:32:29.707 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:29.707 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 66, tp general"] [category=ddl] ["take time"=1.17µs] [2024/05/23 09:32:29.707 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:29.708 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:29.708 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:29.708 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=61638480-49aa-4ccd-892e-d80af4730491] ["take time"=3.914804ms] [2024/05/23 09:32:29.708 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=61638480-49aa-4ccd-892e-d80af4730491] [2024/05/23 09:32:29.708 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:32:29.708 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:29.708 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:29.708 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:29.708 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:29.708 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:29.708 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:29.708 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:29.708 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:29.708 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:29.708 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:29.709 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=61638480-49aa-4ccd-892e-d80af4730491] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:29.709 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:29.709 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:29.709 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:29.709 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:29.710 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=61638480-49aa-4ccd-892e-d80af4730491] [ownerKey=/tidb/stats/owner] [2024/05/23 09:32:29.710 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:29.710 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:32:29.710 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:32:29.710 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:29.710 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:32:29.710 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:32:29.710 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:29.710 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:29.710 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:29.710 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:32:29.710 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:29.710 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=5.870911ms] [2024/05/23 09:32:29.711 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:32:29.711 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:32:29.711 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:32:29.711 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:32:29.711 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:32:29.711 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestDropTableGCPlacement (2.06s) === RUN TestSetTiFlashReplicaForTemporaryTable [2024/05/23 09:32:29.715 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:32:29.715 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:29.716 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:29.716 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:29.716 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:29.717 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:29.719 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=3bb042fb-a930-4397-8a06-c6945c595a8f] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/23 09:32:29.726 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:29.726 +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/23 09:32:29.726 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\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.TestSetTiFlashReplicaForTemporaryTable\n\tpkg/ddl/tiflash_replica_test.go:192\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:32:29.732 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=5.931451ms] [2024/05/23 09:32:29.733 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:29.733 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=213a50cf-b98b-4cee-ab0a-fc7deb747090] [runWorker=true] [2024/05/23 09:32:29.733 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:29.733 +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/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:29.733 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:29.733 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:29.733 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:29.733 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:29.733 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:29.733 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:29.734 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:29.734 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:32:29.738 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.738 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:32:29.745 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.751 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.722646ms] [2024/05/23 09:32:29.751 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:29.754 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.754 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/23 09:32:29.756 +00:00] [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.701057ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:29.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.766 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.771 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:32:29.771 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.772 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:32:29.772 +00:00] [INFO] [session.go:3959] ["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/23 09:32:29.779 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.779 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.774 +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/23 09:32:29.787 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.796 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.01656ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.798 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.798 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/23 09:32:29.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=2] ["take time"=4.780231ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.809 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.817 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:32:29.817 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.818 +00:00] [INFO] [session.go:3959] ["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/23 09:32:29.821 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.821 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.819 +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/23 09:32:29.830 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.834 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=246.835µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.835 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.835 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/23 09:32:29.838 +00:00] [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"=5.035974ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.846 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.850 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:32:29.850 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.850 +00:00] [INFO] [session.go:3959] ["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/23 09:32:29.854 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.854 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.852 +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/23 09:32:29.863 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.868 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=287.945µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.870 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.870 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/23 09:32:29.871 +00:00] [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.063579ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.879 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.883 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:32:29.883 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.884 +00:00] [INFO] [session.go:3959] ["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/23 09:32:29.888 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.888 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.886 +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/23 09:32:29.898 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.905 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=488.796µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.907 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.907 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/23 09:32:29.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=5] ["take time"=4.553398ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.919 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.924 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:32:29.924 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.925 +00:00] [INFO] [session.go:3959] ["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/23 09:32:29.928 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.928 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.926 +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/23 09:32:29.936 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.940 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=366.398µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.942 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.942 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/23 09:32:29.944 +00:00] [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.497313ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.951 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.955 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:32:29.955 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.956 +00:00] [INFO] [session.go:3959] ["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/23 09:32:29.960 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.960 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.957 +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/23 09:32:29.973 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.977 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=336.228µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:29.979 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:29.979 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/23 09:32:29.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=7] ["take time"=4.987135ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.987 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:29.991 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:32:29.992 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:29.992 +00:00] [INFO] [session.go:3959] ["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/23 09:32:29.995 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:29.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:29.995 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:29.994 +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/23 09:32:30.004 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:29.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.007 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=272.911µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.009 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.009 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/23 09:32:30.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=8] ["take time"=4.600315ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:29.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.020 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:29.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.026 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:32:30.026 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.027 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.031 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.031 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.029 +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/23 09:32:30.038 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.042 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=316.32µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.043 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.043 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/23 09:32:30.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=9] ["take time"=4.204982ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.053 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.056 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:32:30.056 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.057 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.064 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.064 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.059 +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/23 09:32:30.080 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.086 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=507.554µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.088 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.088 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/23 09:32:30.090 +00:00] [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.479614ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.097 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.101 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:32:30.102 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.102 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.106 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.106 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.104 +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/23 09:32:30.114 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.118 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=274.264µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.120 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.120 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/23 09:32:30.123 +00:00] [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.827115ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.129 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.134 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:32:30.134 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.134 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.134 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:30.139 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.139 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.136 +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/23 09:32:30.149 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.155 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=392.758µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.156 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.156 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/23 09:32:30.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=12] ["take time"=7.261246ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.171 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.176 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:32:30.176 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.176 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.180 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.180 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.178 +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/23 09:32:30.188 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.193 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=434.949µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.195 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.195 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/23 09:32:30.197 +00:00] [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.024644ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.205 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.210 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:32:30.210 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.210 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.214 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.214 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.212 +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/23 09:32:30.224 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.228 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=335.561µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.230 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.230 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/23 09:32:30.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=14] ["take time"=4.219932ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.239 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.243 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:32:30.243 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.244 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.248 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.248 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.246 +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/23 09:32:30.259 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.267 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=387.575µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.269 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.269 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/23 09:32:30.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=15] ["take time"=4.856158ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.278 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.282 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:32:30.282 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.283 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.287 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.287 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.285 +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/23 09:32:30.297 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.301 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=323.544µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.303 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.303 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/23 09:32:30.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=16] ["take time"=2.598599ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.309 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.313 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:32:30.313 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.314 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.317 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.317 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.316 +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/23 09:32:30.326 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.330 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=373.05µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.332 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.332 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/23 09:32:30.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=17] ["take time"=4.306966ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.345 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.350 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:32:30.350 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.350 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.354 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.355 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.352 +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/23 09:32:30.376 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.381 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=307.314µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.383 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.383 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/23 09:32:30.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=18] ["take time"=4.185272ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.394 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.398 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:32:30.398 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.399 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.402 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.402 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.4 +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/23 09:32:30.409 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.414 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=342.017µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.415 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.415 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/23 09:32:30.416 +00:00] [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.922253ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.423 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.428 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:32:30.428 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.430 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.437 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.437 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.431 +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/23 09:32:30.446 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.450 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=269.015µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.452 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.452 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/23 09:32:30.455 +00:00] [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.826528ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.467 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.472 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:32:30.472 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.472 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.476 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.476 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.474 +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/23 09:32:30.486 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.495 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=274.456µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.497 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.497 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/23 09:32:30.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=21] ["take time"=5.024752ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.506 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.510 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:32:30.510 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.510 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.514 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.514 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.512 +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/23 09:32:30.521 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.524 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=164.981µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.525 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.526 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/23 09:32:30.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=22] ["take time"=2.490358ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.531 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.535 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:32:30.535 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.536 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.540 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.541 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.538 +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/23 09:32:30.550 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.557 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=442.246µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.559 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.559 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/23 09:32:30.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=23] ["take time"=5.177072ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.571 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.576 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:32:30.576 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.576 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.579 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.579 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.578 +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/23 09:32:30.590 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.594 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=352.209µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.596 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.596 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/23 09:32:30.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=24] ["take time"=4.305291ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.604 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.607 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:32:30.608 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.608 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.613 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.613 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.611 +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/23 09:32:30.621 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.624 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=254.372µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.626 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.626 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/23 09:32:30.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=25] ["take time"=2.010219ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.631 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.634 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:32:30.635 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.635 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.638 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.638 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.637 +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/23 09:32:30.647 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.651 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=320.075µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.653 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.653 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/23 09:32:30.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=26] ["take time"=2.331634ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.658 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.669 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:32:30.669 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.669 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.672 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.672 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.671 +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/23 09:32:30.679 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.683 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=331.394µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.685 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.685 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/23 09:32:30.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=27] ["take time"=2.783542ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.696 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.700 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:32:30.701 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.701 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.705 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.705 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.703 +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/23 09:32:30.713 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.717 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=213.352µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.718 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.718 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/23 09:32:30.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=28] ["take time"=4.482043ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.726 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.730 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:32:30.730 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.731 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.731 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:32:30.734 +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:2094\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1998\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1963\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1949\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1953\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/23 09:32:30.735 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.735 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.733 +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/23 09:32:30.747 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.751 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=384.074µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.753 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.753 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/23 09:32:30.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=29] ["take time"=4.880808ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.762 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.768 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:32:30.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.769 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.772 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.773 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.77 +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/23 09:32:30.778 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.782 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=371.02µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.784 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.784 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/23 09:32:30.784 +00:00] [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.228294ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.792 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.796 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:32:30.796 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.796 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.800 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.800 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.798 +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/23 09:32:30.806 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.810 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=247.793µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.811 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.811 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/23 09:32:30.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=31] ["take time"=3.786163ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.818 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.822 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:32:30.822 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.823 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.826 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.826 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.824 +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/23 09:32:30.833 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.838 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=365.826µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.839 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.839 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/23 09:32:30.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=32] ["take time"=2.023012ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.845 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.848 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:32:30.848 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.849 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.851 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.851 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.85 +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/23 09:32:30.860 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.864 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=228.948µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.866 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.866 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/23 09:32:30.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=33] ["take time"=2.23067ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.873 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.876 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:32:30.876 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.881 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.881 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:32:30.889 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.893 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=237.273µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:30.894 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.894 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/23 09:32:30.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=34] ["take time"=2.88139ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:30.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.901 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.905 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:32:30.905 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.905 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.908 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.908 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.907 +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/23 09:32:30.915 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.918 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=414.521µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.919 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.920 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/23 09:32:30.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=35] ["take time"=2.35968ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.925 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.928 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:32:30.928 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.929 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.931 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.931 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.93 +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/23 09:32:30.941 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.948 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=334.821µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.950 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.950 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/23 09:32:30.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=36] ["take time"=2.603718ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.955 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.970 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:32:30.970 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.970 +00:00] [INFO] [session.go:3959] ["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/23 09:32:30.974 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:30.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:30.974 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:30.973 +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/23 09:32:30.981 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:30.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.984 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=213.715µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:30.985 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:30.985 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/23 09:32:30.987 +00:00] [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.018558ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:30.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.994 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:30.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:30.997 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:32:30.997 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:30.998 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.002 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.002 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31 +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/23 09:32:31.008 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.013 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=372.638µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.014 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.014 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/23 09:32:31.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=38] ["take time"=2.713327ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.022 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.026 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:32:31.026 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.026 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.030 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.030 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.028 +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/23 09:32:31.037 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.042 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=391.22µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.043 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.043 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/23 09:32:31.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=39] ["take time"=4.533715ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.050 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.054 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:32:31.054 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.055 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.059 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.059 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.057 +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/23 09:32:31.067 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.071 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=461.688µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.073 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.073 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/23 09:32:31.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=40] ["take time"=4.564046ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.082 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.088 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:32:31.088 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.089 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.092 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.092 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.09 +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/23 09:32:31.099 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=356.894µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.105 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.105 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/23 09:32:31.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=41] ["take time"=2.113841ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.110 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.114 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:32:31.114 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.115 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.119 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.119 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.117 +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/23 09:32:31.126 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.130 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=390.071µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.132 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.132 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/23 09:32:31.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=42] ["take time"=10.940397ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.151 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.155 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:32:31.155 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.155 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.159 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.159 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.157 +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/23 09:32:31.171 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.177 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=516.021µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.178 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.178 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/23 09:32:31.181 +00:00] [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.978599ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.186 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.190 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:32:31.190 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.191 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.193 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.193 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.192 +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/23 09:32:31.200 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.203 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=282.74µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.204 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.204 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/23 09:32:31.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=44] ["take time"=2.423657ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.209 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.192 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.213 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:32:31.213 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.213 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.216 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.216 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.214 +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/23 09:32:31.223 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.226 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=291.787µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.228 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.228 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/23 09:32:31.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=45] ["take time"=2.112725ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.233 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.237 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:32:31.237 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.237 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.241 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.241 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.239 +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/23 09:32:31.246 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.251 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=587.516µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.253 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.253 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/23 09:32:31.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=46] ["take time"=4.811115ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.264 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.269 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:32:31.269 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.270 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.274 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.274 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.272 +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/23 09:32:31.281 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.286 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=351.94µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.287 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.287 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/23 09:32:31.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=47] ["take time"=2.025834ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.294 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.298 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:32:31.298 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.298 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.301 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.301 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.3 +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/23 09:32:31.307 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.310 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=296.629µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.311 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.312 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/23 09:32:31.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=48] ["take time"=2.027771ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.317 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.320 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:32:31.320 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.320 +00:00] [INFO] [session.go:3959] ["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/23 09:32:31.323 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.323 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.321 +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/23 09:32:31.330 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.332 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=226.726µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.334 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.334 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/23 09:32:31.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=49] ["take time"=2.062047ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.341 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.344 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:32:31.344 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.345 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:32:31.347 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.347 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:32:31.353 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.354 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=56.36µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:32:31.355 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.355 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/23 09:32:31.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=50] ["take time"=2.971006ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:31.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.362 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.365 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:32:31.365 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.375 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.375 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.367 +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/23 09:32:31.381 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:32:31.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.383 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=163.593µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:32:31.385 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/23 09:32:31.385 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/23 09:32:31.385 +00:00] [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.030195ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:31.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.391 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:32:31.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.395 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:32:31.395 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.431 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.69776292s] [2024/05/23 09:32:31.432 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=213a50cf-b98b-4cee-ab0a-fc7deb747090] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:31.432 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:31.432 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 74, tp add index"] [category=ddl] ["take time"=7.415µs] [2024/05/23 09:32:31.432 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 75, tp add index"] [category=ddl] ["take time"=42.224µs] [2024/05/23 09:32:31.432 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 72, tp add index"] [category=ddl] ["take time"=50.581µs] [2024/05/23 09:32:31.432 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 73, tp add index"] [category=ddl] ["take time"=47.445µs] [2024/05/23 09:32:31.432 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:31.432 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 71, tp general"] [category=ddl] ["take time"=1.472µs] [2024/05/23 09:32:31.432 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:31.432 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:31.432 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:31.449 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=213a50cf-b98b-4cee-ab0a-fc7deb747090] ["take time"=17.711143ms] [2024/05/23 09:32:31.449 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=213a50cf-b98b-4cee-ab0a-fc7deb747090] [2024/05/23 09:32:31.449 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:31.449 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:31.449 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:31.449 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:31.449 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:31.449 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:31.449 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:31.449 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:31.449 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:31.449 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:31.449 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:31.449 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:31.449 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:31.450 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:31.450 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=18.203047ms] [2024/05/23 09:32:31.450 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=3bb042fb-a930-4397-8a06-c6945c595a8f] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/23 09:32:31.457 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:32:31.457 +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/23 09:32:31.470 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=12.807368ms] [2024/05/23 09:32:31.471 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:32:31.471 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=9a4675f4-3317-4e0b-a90b-8bd3fd3e064c] [runWorker=true] [2024/05/23 09:32:31.471 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:32:31.471 +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/23 09:32:31.471 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:31.471 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:31.471 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:31.471 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:31.471 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:31.471 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:31.471 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:31.471 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:31.471 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:31.471 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:32:31.471 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:32:31.472 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:31.472 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:32:31.472 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:32:31.472 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:32:31.474 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:31.474 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:32:31.490 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:31.492 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:31.494 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:31.494 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:32:31.495 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:31.495 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:31.495 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:32:31.495 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:31.496 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:32:31.496 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:31.496 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:32:31.497 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:31.497 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:32:31.497 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:32:31.498 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=51] [cur_db=test] [sql="create global temporary table temp(id int) on commit delete rows"] [user=] [2024/05/23 09:32:31.501 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.501 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create global temporary table temp(id int) on commit delete rows"] [2024/05/23 09:32:31.522 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:32:31.522 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:32:31.527 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=14] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.530 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=160.545µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.531 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/23 09:32:31.531 +00:00] [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.013468ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.538 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=14] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.540 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/23 09:32:31.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.541 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=52] [cur_db=test] [sql="create temporary table temp2(id int)"] [user=] [2024/05/23 09:32:31.541 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=52] [cur_db=test] [sql="alter table temp set tiflash replica 1"] [user=] [2024/05/23 09:32:31.542 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:31.542 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[ddl:8006]`set on tiflash` is unsupported on temporary tables."] [errorVerbose="[ddl:8006]`set on tiflash` is unsupported on temporary tables.\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.isTableTiFlashSupported\n\tpkg/ddl/ddl_api.go:6674\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTableSetTiFlashReplica\n\tpkg/ddl/ddl_api.go:6540\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4046\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSetTiFlashReplicaForTemporaryTable\n\tpkg/ddl/tiflash_replica_test.go:199\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:32:31.542 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=52] [cur_db=test] [sql="alter table temp2 set tiflash replica 1"] [user=] [2024/05/23 09:32:31.542 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/23 09:32:31.542 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[ddl:8200]TiDB doesn't support ALTER TABLE for local temporary table"] [errorVerbose="[ddl:8200]TiDB doesn't support ALTER TABLE for local temporary table\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/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:385\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSetTiFlashReplicaForTemporaryTable\n\tpkg/ddl/tiflash_replica_test.go:200\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/23 09:32:31.542 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=52] [cur_db=test] [sql="drop table temp, temp2"] [user=] [2024/05/23 09:32:31.544 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.544 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table temp, temp2"] [2024/05/23 09:32:31.550 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=14] [category=ddl] [job="ID:107, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.552 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=36.217µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:31.553 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/23 09:32:31.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=53] ["take time"=2.587536ms] [job="ID:107, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.560 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=14] [category=ddl] [job="ID:107, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.563 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=64.774µs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:31.564 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=54] [2024/05/23 09:32:31.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=54] ["take time"=3.459439ms] [job="ID:107, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.571 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=14] [category=ddl] [job="ID:107, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.574 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=40.768µs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:31.575 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=55] [2024/05/23 09:32:31.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=55] ["take time"=2.016807ms] [job="ID:107, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:31.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.580 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=107] [tableIDs="[104]"] [comment="drop table: table ID"] [2024/05/23 09:32:31.582 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="drop table"] [2024/05/23 09:32:31.582 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=14] [job="ID:107, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:31.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.585 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=107] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/23 09:32:31.586 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:32:31.586 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.586 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=55] [cur_db=test] [sql="drop table if exists normal"] [user=] [2024/05/23 09:32:31.586 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=55] [cur_db=test] [sql="create table normal(id int)"] [user=] [2024/05/23 09:32:31.589 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.589 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table normal(id int)"] [2024/05/23 09:32:31.593 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=109] [conn=14] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.595 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=168.871µs] [gotSchemaVersion=56] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.597 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=56] [2024/05/23 09:32:31.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=56] ["take time"=2.035477ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.602 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=109] [conn=14] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.605 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/23 09:32:31.605 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.605 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=56] [cur_db=test] [sql="alter table normal set tiflash replica 1"] [user=] [2024/05/23 09:32:31.608 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:31.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.608 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:110, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:31.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table normal set tiflash replica 1"] [2024/05/23 09:32:31.615 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=14] [category=ddl] [job="ID:110, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.615 +00:00] [INFO] [table.go:1391] ["Set TiFlash replica pd rule"] [category=ddl] [tableID=108] [2024/05/23 09:32:31.615 +00:00] [INFO] [info.go:1211] [ConfigureTiFlashPDForTable] [tableID=108] [count=1] [2024/05/23 09:32:31.618 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=212.056µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"] [2024/05/23 09:32:31.619 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=57] [2024/05/23 09:32:31.620 +00:00] [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.803596ms] [job="ID:110, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:1, start time: 2024-05-23 09:32:31.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.626 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=14] [job="ID:110, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.629 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/23 09:32:31.629 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.634 +00:00] [ERROR] [infoschema_reader.go:2506] ["dataForTableTiFlashReplica error"] [tableID=108] [error="MockTiFlash is not accessible"] [stack="github.com/pingcap/tidb/pkg/executor.(*memtableRetriever).dataForTableTiFlashReplica\n\tpkg/executor/infoschema_reader.go:2506\ngithub.com/pingcap/tidb/pkg/executor.(*memtableRetriever).retrieve\n\tpkg/executor/infoschema_reader.go:172\ngithub.com/pingcap/tidb/pkg/executor.(*MemTableReaderExec).Next\n\tpkg/executor/memtable_reader.go:120\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*SelectionExec).Next\n\tpkg/executor/executor.go:1601\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*CoprocessorDAGHandler).HandleRequest\n\tpkg/executor/coprocessor.go:90\ngithub.com/pingcap/tidb/pkg/server.(*rpcServer).handleCopRequest\n\tpkg/server/rpc_server.go:216\ngithub.com/pingcap/tidb/pkg/server.(*rpcServer).Coprocessor\n\tpkg/server/rpc_server.go:105\ngithub.com/pingcap/kvproto/pkg/tikvpb._Tikv_Coprocessor_Handler\n\texternal/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:3512\ngoogle.golang.org/grpc.(*Server).processUnaryRPC\n\texternal/org_golang_google_grpc/server.go:1369\ngoogle.golang.org/grpc.(*Server).handleStream\n\texternal/org_golang_google_grpc/server.go:1780\ngoogle.golang.org/grpc.(*Server).serveStreams.func2.1\n\texternal/org_golang_google_grpc/server.go:1019"] [2024/05/23 09:32:31.635 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=57] [cur_db=test] [sql="create global temporary table temp like normal on commit delete rows"] [user=] [2024/05/23 09:32:31.638 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:32:31.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.638 +00:00] [INFO] [ddl.go:1210] ["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-23 09:32:31.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create global temporary table temp like normal on commit delete rows"] [2024/05/23 09:32:31.643 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=112] [conn=14] [category=ddl] [job="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.646 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=243.772µs] [gotSchemaVersion=58] [phyTblIDs="[111]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:32:31.647 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=112] [version=58] [2024/05/23 09:32:31.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=58] ["take time"=2.874867ms] [job="ID:112, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.653 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=112] [conn=14] [job="ID:112, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.655 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/23 09:32:31.655 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.657 +00:00] [ERROR] [infoschema_reader.go:2506] ["dataForTableTiFlashReplica error"] [tableID=108] [error="MockTiFlash is not accessible"] [stack="github.com/pingcap/tidb/pkg/executor.(*memtableRetriever).dataForTableTiFlashReplica\n\tpkg/executor/infoschema_reader.go:2506\ngithub.com/pingcap/tidb/pkg/executor.(*memtableRetriever).retrieve\n\tpkg/executor/infoschema_reader.go:172\ngithub.com/pingcap/tidb/pkg/executor.(*MemTableReaderExec).Next\n\tpkg/executor/memtable_reader.go:120\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*SelectionExec).Next\n\tpkg/executor/executor.go:1601\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*CoprocessorDAGHandler).HandleRequest\n\tpkg/executor/coprocessor.go:90\ngithub.com/pingcap/tidb/pkg/server.(*rpcServer).handleCopRequest\n\tpkg/server/rpc_server.go:216\ngithub.com/pingcap/tidb/pkg/server.(*rpcServer).Coprocessor\n\tpkg/server/rpc_server.go:105\ngithub.com/pingcap/kvproto/pkg/tikvpb._Tikv_Coprocessor_Handler\n\texternal/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:3512\ngoogle.golang.org/grpc.(*Server).processUnaryRPC\n\texternal/org_golang_google_grpc/server.go:1369\ngoogle.golang.org/grpc.(*Server).handleStream\n\texternal/org_golang_google_grpc/server.go:1780\ngoogle.golang.org/grpc.(*Server).serveStreams.func2.1\n\texternal/org_golang_google_grpc/server.go:1019"] [2024/05/23 09:32:31.658 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=58] [cur_db=test] [sql="drop table temp"] [user=] [2024/05/23 09:32:31.660 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:32:31.660 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table temp"] [2024/05/23 09:32:31.670 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=113] [conn=14] [category=ddl] [job="ID:113, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.673 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=41.328µs] [gotSchemaVersion=59] [phyTblIDs="[111]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:31.674 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=59] [2024/05/23 09:32:31.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=59] ["take time"=2.892151ms] [job="ID:113, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-23 09:32:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.680 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=113] [conn=14] [category=ddl] [job="ID:113, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.682 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=55.938µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:31.683 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=60] [2024/05/23 09:32:31.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=60] ["take time"=2.37144ms] [job="ID:113, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.688 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=113] [conn=14] [category=ddl] [job="ID:113, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-23 09:32:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.690 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=44.041µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/23 09:32:31.691 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=61] [2024/05/23 09:32:31.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=61] ["take time"=2.260586ms] [job="ID:113, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.696 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=113] [tableIDs="[111]"] [comment="drop table: table ID"] [2024/05/23 09:32:31.697 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=113] [jobType="drop table"] [2024/05/23 09:32:31.697 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=113] [conn=14] [job="ID:113, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-23 09:32:31.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:32:31.700 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=113] [elementID=1] [startKey=74800000000000006f] [endKey=748000000000000070] [2024/05/23 09:32:31.701 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/23 09:32:31.702 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:32:31.702 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=61] [cur_db=test] [sql="create temporary table temp like normal"] [user=] [2024/05/23 09:32:31.704 +00:00] [ERROR] [infoschema_reader.go:2506] ["dataForTableTiFlashReplica error"] [tableID=108] [error="MockTiFlash is not accessible"] [stack="github.com/pingcap/tidb/pkg/executor.(*memtableRetriever).dataForTableTiFlashReplica\n\tpkg/executor/infoschema_reader.go:2506\ngithub.com/pingcap/tidb/pkg/executor.(*memtableRetriever).retrieve\n\tpkg/executor/infoschema_reader.go:172\ngithub.com/pingcap/tidb/pkg/executor.(*MemTableReaderExec).Next\n\tpkg/executor/memtable_reader.go:120\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*SelectionExec).Next\n\tpkg/executor/executor.go:1601\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*CoprocessorDAGHandler).HandleRequest\n\tpkg/executor/coprocessor.go:90\ngithub.com/pingcap/tidb/pkg/server.(*rpcServer).handleCopRequest\n\tpkg/server/rpc_server.go:216\ngithub.com/pingcap/tidb/pkg/server.(*rpcServer).Coprocessor\n\tpkg/server/rpc_server.go:105\ngithub.com/pingcap/kvproto/pkg/tikvpb._Tikv_Coprocessor_Handler\n\texternal/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:3512\ngoogle.golang.org/grpc.(*Server).processUnaryRPC\n\texternal/org_golang_google_grpc/server.go:1369\ngoogle.golang.org/grpc.(*Server).handleStream\n\texternal/org_golang_google_grpc/server.go:1780\ngoogle.golang.org/grpc.(*Server).serveStreams.func2.1\n\texternal/org_golang_google_grpc/server.go:1019"] [2024/05/23 09:32:31.705 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=9a4675f4-3317-4e0b-a90b-8bd3fd3e064c] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 79, tp add index"] [category=ddl] ["take time"=2.224µs] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 80, tp add index"] [category=ddl] ["take time"=1.411µs] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 77, tp add index"] [category=ddl] ["take time"=1.302µs] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 78, tp add index"] [category=ddl] ["take time"=1.335µs] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 76, tp general"] [category=ddl] ["take time"=929ns] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:32:31.705 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:32:31.705 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=9a4675f4-3317-4e0b-a90b-8bd3fd3e064c] ["take time"=580.747µs] [2024/05/23 09:32:31.705 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=9a4675f4-3317-4e0b-a90b-8bd3fd3e064c] [2024/05/23 09:32:31.705 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/23 09:32:31.705 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:31.705 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:31.705 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:31.705 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:31.705 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/23 09:32:31.705 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/23 09:32:31.706 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/23 09:32:31.706 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:32:31.706 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:32:31.706 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=9a4675f4-3317-4e0b-a90b-8bd3fd3e064c] [ownerKey=/tidb/stats/owner] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:32:31.706 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=9a4675f4-3317-4e0b-a90b-8bd3fd3e064c] [ownerKey=/tidb/bindinfo/owner] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:32:31.706 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/23 09:32:31.706 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/23 09:32:31.707 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:32:31.707 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.151636ms] [2024/05/23 09:32:31.764 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/23 09:32:31.770 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/23 09:32:31.770 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/23 09:32:31.770 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/23 09:32:31.770 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/23 09:32:31.770 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestSetTiFlashReplicaForTemporaryTable (2.06s) FAIL coverage: 11.7% 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/13645/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/ddl_test_/ddl_test.runfiles/__main__/pkg/ddl/ddl_test_/ddl_test ================================================================================ FLAKY: //pkg/ddl:ddl_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_33_of_50/test_attempts/attempt_1.log /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 [14,819 / 15,015] 402 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,820 / 15,015] 402 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,823 / 15,015] 403 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 29s remote-cache, linux-sandbox ... (70 actions running) [14,823 / 15,015] 403 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 31s remote-cache, linux-sandbox ... (70 actions running) [14,835 / 15,015] 403 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 32s remote-cache, linux-sandbox ... (70 actions running) [14,847 / 15,015] 403 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,850 / 15,015] 403 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 27 of 42); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,854 / 15,015] 403 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,856 / 15,015] 403 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 26s remote-cache, linux-sandbox ... (70 actions running) [14,862 / 15,015] 403 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 27s remote-cache, linux-sandbox ... (70 actions running) [14,873 / 15,015] 404 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 28s remote-cache, linux-sandbox ... (70 actions running) [14,883 / 15,015] 405 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 29s remote-cache, linux-sandbox ... (70 actions running) [14,883 / 15,015] 405 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 31s remote-cache, linux-sandbox ... (70 actions running) [14,888 / 15,015] 405 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 32s remote-cache, linux-sandbox ... (69 actions running) [14,894 / 15,015] 405 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 33s remote-cache, linux-sandbox ... (70 actions running) [14,904 / 15,015] 405 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 34s remote-cache, linux-sandbox ... (70 actions running) [14,910 / 15,015] 405 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,914 / 15,015] 406 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 37s remote-cache, linux-sandbox ... (69 actions running) [14,919 / 15,015] 406 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 38s remote-cache, linux-sandbox ... (70 actions running) [14,924 / 15,015] 406 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,935 / 15,015] 407 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,942 / 15,015] 408 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,949 / 15,015] 409 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,953 / 15,015] 410 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 44s remote-cache, linux-sandbox ... (70 actions running) [14,960 / 15,015] 410 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 45s remote-cache, linux-sandbox ... (70 actions running) [14,969 / 15,015] 411 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,972 / 15,015] 411 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,983 / 15,015] 411 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 49s remote-cache, linux-sandbox ... (64 actions running) [14,995 / 15,015] 411 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 51s remote-cache, linux-sandbox ... (40 actions running) [14,999 / 15,015] 411 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 53s remote-cache, linux-sandbox ... (32 actions running) [15,000 / 15,015] 411 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 54s remote-cache, linux-sandbox ... (30 actions running) [15,001 / 15,015] 411 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 56s remote-cache, linux-sandbox ... (28 actions running) [15,005 / 15,015] 411 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 58s remote-cache, linux-sandbox ... (20 actions running) [15,005 / 15,015] 411 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 59s remote-cache, linux-sandbox ... (20 actions running) [15,009 / 15,015] 412 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 61s remote-cache, linux-sandbox ... (12 actions running) [15,010 / 15,015] 412 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 62s remote-cache, linux-sandbox ... (10 actions running) FAIL: //pkg/ddl/tests/tiflash:tiflash_test (shard 25 of 32) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_25_of_32/test_attempts/attempt_1.log) [15,010 / 15,015] 412 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 67s remote-cache, linux-sandbox ... (10 actions running) [15,011 / 15,015] 413 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 28s remote-cache, linux-sandbox ... (8 actions running) [15,011 / 15,015] 413 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 32s remote-cache, linux-sandbox ... (8 actions running) [15,012 / 15,015] 413 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 34s remote-cache, linux-sandbox ... (6 actions running) [15,012 / 15,015] 413 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 35s remote-cache, linux-sandbox ... (6 actions running) [15,013 / 15,015] 413 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 37s remote-cache, linux-sandbox ... (4 actions running) FLAKY: //pkg/ddl/tests/tiflash:tiflash_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_25_of_32/test_attempts/attempt_1.log INFO: From Testing //pkg/ddl/tests/tiflash:tiflash_test (shard 25 of 32): ==================== Test output for //pkg/ddl/tests/tiflash:tiflash_test (shard 25 of 32): === RUN TestTiFlashProgressAfterAvailableForPartitionTable [2024/05/23 09:33:24.269 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:33:24.269 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=4] [addr=tiflash0] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:33:24.269 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=6] [addr=tiflash1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/23 09:33:24.269 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:33:24.269 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:33:24.270 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:33:24.270 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:33:24.271 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:33:24.272 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=f3a7772b-0bf6-4929-acd9-2b95ceb7208d] ["ddl lease"=0s] ["stats lease"=-1ns] [2024/05/23 09:33:24.280 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:33:24.280 +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/23 09:33:24.280 +00:00] [WARN] [domain.go:244] ["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:342\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:613\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1267\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:3634\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3626\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3352\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3318\npkg/ddl/tests/tiflash/tiflash_test.createTiFlashContext\n\tpkg/ddl/tests/tiflash/ddl_tiflash_test.go:99\npkg/ddl/tests/tiflash/tiflash_test.TestTiFlashProgressAfterAvailableForPartitionTable\n\tpkg/ddl/tests/tiflash/ddl_tiflash_test.go:1151\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/23 09:33:24.283 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.192811ms] [2024/05/23 09:33:24.283 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:33:24.283 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=a8a06d56-f432-4668-b8e3-9393692d0622] [runWorker=true] [2024/05/23 09:33:24.284 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:33:24.284 +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/23 09:33:24.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:33:24.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:33:24.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:33:24.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:33:24.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:33:24.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:33:24.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:33:24.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:33:24.284 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:33:24.284 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:33:24.284 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:33:24.284 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:33:24.284 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:33:24.284 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:33:24.285 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/23 09:33:24.288 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.289 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/23 09:33:24.293 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.299 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.301 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/23 09:33:24.301 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.304 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.820126ms] [2024/05/23 09:33:24.304 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:33:24.305 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/23 09:33:24.305 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.311 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.311 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.307 +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/23 09:33:24.318 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.329 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.333 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/23 09:33:24.333 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.334 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=628.092µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.334 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.336 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.336 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.335 +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/23 09:33:24.340 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.346 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.348 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/23 09:33:24.348 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.349 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=197.309µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.349 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.351 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.351 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.35 +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/23 09:33:24.356 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.362 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.364 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/23 09:33:24.364 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.365 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=227.484µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.365 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.368 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.366 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.368 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.366 +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/23 09:33:24.372 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.366 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.380 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.366 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.384 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/23 09:33:24.384 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.385 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=364.109µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.385 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.387 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.387 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.386 +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/23 09:33:24.391 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.398 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.401 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/23 09:33:24.401 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.401 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=286.481µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.401 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.404 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.404 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.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/23 09:33:24.408 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.413 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.416 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/23 09:33:24.416 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.416 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=211.029µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.416 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.418 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.418 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.417 +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/23 09:33:24.423 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.429 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.432 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/23 09:33:24.432 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.432 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=133.223µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.432 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.435 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.435 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.433 +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/23 09:33:24.440 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.449 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.452 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/23 09:33:24.452 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.452 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=142.993µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.453 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.455 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.455 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.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/23 09:33:24.460 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.467 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.469 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/23 09:33:24.469 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.470 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=298.445µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.470 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.473 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.473 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.472 +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/23 09:33:24.478 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.483 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.486 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/23 09:33:24.486 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.486 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=248.215µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.487 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.487 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:33:24.490 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.490 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.488 +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/23 09:33:24.493 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.500 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.504 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/23 09:33:24.504 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.505 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=322.517µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.505 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.507 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.508 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.506 +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/23 09:33:24.512 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.518 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.521 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/23 09:33:24.521 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.521 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=267.044µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.522 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.524 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.524 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.523 +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/23 09:33:24.528 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.534 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.536 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/23 09:33:24.536 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.536 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=169.5µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.536 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.538 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.538 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.537 +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/23 09:33:24.543 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.548 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.554 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/23 09:33:24.554 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.555 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=191.702µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.555 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.557 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.557 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.556 +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/23 09:33:24.562 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.567 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.570 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/23 09:33:24.570 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.571 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=251.298µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.571 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.573 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.573 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.572 +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/23 09:33:24.579 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.585 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.587 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/23 09:33:24.587 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.587 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=175.062µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.588 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.590 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.590 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.589 +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/23 09:33:24.593 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.599 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.602 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/23 09:33:24.602 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.602 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=200.742µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.602 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.604 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.604 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.603 +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/23 09:33:24.610 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.617 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.620 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/23 09:33:24.620 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.620 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=333.577µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.621 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.624 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.624 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.622 +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/23 09:33:24.628 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.634 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.636 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/23 09:33:24.636 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.636 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=202.52µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.636 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.639 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.639 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.638 +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/23 09:33:24.642 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.651 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.653 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/23 09:33:24.653 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.654 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=194.544µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.654 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.656 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.656 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.655 +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/23 09:33:24.662 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.667 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.669 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/23 09:33:24.670 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.670 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=139.823µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.670 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.672 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.672 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.671 +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/23 09:33:24.678 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.684 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.687 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/23 09:33:24.687 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.687 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=326.738µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.688 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.690 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.690 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.689 +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/23 09:33:24.696 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.702 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.705 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/23 09:33:24.705 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.705 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=242.571µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.705 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.707 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.707 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.706 +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/23 09:33:24.711 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.716 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.718 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/23 09:33:24.718 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.719 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=230.832µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.719 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.721 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.721 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.72 +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/23 09:33:24.725 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.731 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.734 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/23 09:33:24.734 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.734 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=254.645µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.734 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.736 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.737 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.735 +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/23 09:33:24.741 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.746 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.748 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/23 09:33:24.748 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.749 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=227.322µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.749 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.751 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.751 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.75 +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/23 09:33:24.758 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.763 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.766 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/23 09:33:24.766 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.766 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=159.306µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.767 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.767 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/23 09:33:24.770 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.770 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.768 +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/23 09:33:24.776 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.783 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.785 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/23 09:33:24.785 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.786 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=188.454µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.786 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.789 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.789 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.787 +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/23 09:33:24.796 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.802 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.805 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/23 09:33:24.805 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.806 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=332.575µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.806 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.809 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.809 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.807 +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/23 09:33:24.813 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.819 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.822 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/23 09:33:24.822 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.823 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=859.267µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.823 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.828 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.828 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.825 +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/23 09:33:24.833 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.839 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.842 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/23 09:33:24.842 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.843 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=409.716µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.843 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.845 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.845 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.844 +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/23 09:33:24.850 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.855 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.857 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/23 09:33:24.857 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.857 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=147.611µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.860 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.860 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE SQL SECURITY INVOKER 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/23 09:33:24.866 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.872 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.875 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/23 09:33:24.875 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.875 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=232.526µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:33:24.876 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.878 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.878 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.877 +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/23 09:33:24.882 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.891 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.893 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/23 09:33:24.893 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.893 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=189.844µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.894 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.896 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.896 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.895 +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/23 09:33:24.902 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.907 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.909 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/23 09:33:24.909 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.910 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=191.798µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.910 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.912 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.912 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.911 +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/23 09:33:24.917 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.922 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.924 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/23 09:33:24.924 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.925 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=217.309µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.925 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.928 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.928 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.926 +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/23 09:33:24.934 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.941 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.945 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/23 09:33:24.945 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.945 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=342.025µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.945 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.948 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.948 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.947 +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/23 09:33:24.952 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.959 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.963 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/23 09:33:24.963 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.963 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=266.347µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.964 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.966 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.966 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.965 +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/23 09:33:24.971 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.979 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.983 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/23 09:33:24.983 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:24.983 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=492.89µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:24.984 +00:00] [INFO] [session.go:3959] ["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/23 09:33:24.987 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:24.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:24.987 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:24.985 +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/23 09:33:24.991 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:24.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:24.999 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:24.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.002 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/23 09:33:25.002 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.002 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=294.18µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:25.002 +00:00] [INFO] [session.go:3959] ["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/23 09:33:25.005 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.005 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.003 +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/23 09:33:25.009 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.017 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.019 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/23 09:33:25.019 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.020 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=472.403µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:25.021 +00:00] [INFO] [session.go:3959] ["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/23 09:33:25.023 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.023 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.022 +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/23 09:33:25.027 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.035 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.038 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/23 09:33:25.038 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.038 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=275.676µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:25.039 +00:00] [INFO] [session.go:3959] ["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/23 09:33:25.041 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.041 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.04 +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/23 09:33:25.045 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.052 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.054 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/23 09:33:25.054 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.054 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=216.198µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:25.055 +00:00] [INFO] [session.go:3959] ["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/23 09:33:25.057 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.057 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.056 +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/23 09:33:25.062 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.068 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.071 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/23 09:33:25.071 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.072 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=348.499µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:25.072 +00:00] [INFO] [session.go:3959] ["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/23 09:33:25.075 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.075 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.073 +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/23 09:33:25.079 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.087 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.093 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/23 09:33:25.093 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.094 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=503.411µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:25.094 +00:00] [INFO] [session.go:3959] ["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/23 09:33:25.097 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.097 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.095 +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/23 09:33:25.102 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.108 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.111 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/23 09:33:25.111 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.111 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=234.104µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:25.111 +00:00] [INFO] [session.go:3959] ["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/23 09:33:25.113 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.113 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.112 +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/23 09:33:25.119 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.124 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.126 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/23 09:33:25.126 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.127 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=232.521µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:25.127 +00:00] [INFO] [session.go:3959] ["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/23 09:33:25.129 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.129 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.128 +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/23 09:33:25.133 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.142 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.144 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/23 09:33:25.144 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.145 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=262.943µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/23 09:33:25.145 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/23 09:33:25.147 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.147 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/23 09:33:25.151 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.156 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.158 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/23 09:33:25.158 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.158 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=47.605µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/23 09:33:25.161 +00:00] [INFO] [ddl_worker.go:260] ["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-23 09:33:25.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.161 +00:00] [INFO] [ddl.go:1210] ["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-23 09:33:25.16 +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/23 09:33:25.167 +00:00] [INFO] [ddl_worker.go:1209] ["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-23 09:33:25.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.173 +00:00] [INFO] [ddl_worker.go:762] ["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-23 09:33:25.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.175 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/23 09:33:25.175 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.176 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=158.848µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/23 09:33:25.197 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=912.898255ms] [2024/05/23 09:33:25.197 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a8a06d56-f432-4668-b8e3-9393692d0622] [ownerKey=/tidb/ddl/fg/owner] [2024/05/23 09:33:25.197 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:33:25.197 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.682µs] [2024/05/23 09:33:25.197 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.166µs] [2024/05/23 09:33:25.197 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=767ns] [2024/05/23 09:33:25.197 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=937ns] [2024/05/23 09:33:25.197 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:33:25.197 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=761ns] [2024/05/23 09:33:25.197 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/23 09:33:25.197 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/23 09:33:25.197 +00:00] [INFO] [session_pool.go:91] ["closing session pool"] [category=ddl] [2024/05/23 09:33:25.200 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=a8a06d56-f432-4668-b8e3-9393692d0622] ["take time"=2.386913ms] [2024/05/23 09:33:25.200 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=a8a06d56-f432-4668-b8e3-9393692d0622] [2024/05/23 09:33:25.200 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/23 09:33:25.200 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/23 09:33:25.200 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:33:25.200 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:33:25.200 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/23 09:33:25.200 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:33:25.200 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/23 09:33:25.200 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:33:25.200 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:33:25.200 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:33:25.200 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/23 09:33:25.200 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:33:25.200 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.552048ms] [2024/05/23 09:33:25.200 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=f3a7772b-0bf6-4929-acd9-2b95ceb7208d] ["ddl lease"=0s] ["stats lease"=-1ns] [2024/05/23 09:33:25.205 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/23 09:33:25.205 +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/23 09:33:25.215 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=9.182532ms] [2024/05/23 09:33:25.215 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:33:25.215 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=4c3032bc-c832-4953-9501-944198b56af8] [runWorker=true] [2024/05/23 09:33:25.215 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/23 09:33:25.215 +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/23 09:33:25.215 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/23 09:33:25.215 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/23 09:33:25.215 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/23 09:33:25.215 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/23 09:33:25.215 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:33:25.215 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:33:25.215 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/23 09:33:25.215 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/23 09:33:25.215 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/23 09:33:25.215 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/23 09:33:25.215 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/23 09:33:25.215 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/23 09:33:25.215 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/23 09:33:25.215 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/23 09:33:25.218 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/23 09:33:25.218 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/23 09:33:25.220 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/23 09:33:25.221 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/23 09:33:25.230 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/23 09:33:25.233 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/23 09:33:25.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2024/05/23 09:33:25.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2024/05/23 09:33:25.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/23 09:33:25.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2024/05/23 09:33:25.234 +00:00] [INFO] [domain.go:2023] ["PlanReplayerTaskCollectHandle started"] [2024/05/23 09:33:25.234 +00:00] [INFO] [domain.go:2045] ["PlanReplayerTaskDumpHandle started"] [2024/05/23 09:33:25.234 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/23 09:33:25.234 +00:00] [INFO] [plan_replayer.go:409] ["planReplayerTaskDumpWorker started."] [2024/05/23 09:33:25.234 +00:00] [INFO] [domain.go:2110] ["HistoricalStatsWorker started"] [2024/05/23 09:33:25.235 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/23 09:33:25.235 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/23 09:33:25.235 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/23 09:33:25.236 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/23 09:33:25.236 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/23 09:33:25.236 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:33:25.236 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/23 09:33:25.237 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/23 09:33:25.237 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/23 09:33:25.237 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/23 09:33:25.241 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/23 09:33:25.241 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="drop table if exists ddltiflash"] [user=] [2024/05/23 09:33:25.242 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table ddltiflash(z int) PARTITION BY RANGE(z) (PARTITION p0 VALUES LESS THAN (10))"] [user=] [2024/05/23 09:33:25.244 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:33:25.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.244 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:33:25.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table ddltiflash(z int) PARTITION BY RANGE(z) (PARTITION p0 VALUES LESS THAN (10))"] [2024/05/23 09:33:25.248 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [conn=1] [category=ddl] [job="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:33:25.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.253 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [conn=1] [job="ID:106, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:33:25.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.255 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/23 09:33:25.255 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.255 +00:00] [ERROR] [domain.go:298] ["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:799\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:466\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:283\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:142\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1336\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2892\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2719\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:156\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:151\npkg/ddl/tests/tiflash/tiflash_test.TestTiFlashProgressAfterAvailableForPartitionTable\n\tpkg/ddl/tests/tiflash/ddl_tiflash_test.go:1157\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:298\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:613\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:142\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1336\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2892\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2719\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:2285\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2146\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:384\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:156\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:151\npkg/ddl/tests/tiflash/tiflash_test.TestTiFlashProgressAfterAvailableForPartitionTable\n\tpkg/ddl/tests/tiflash/ddl_tiflash_test.go:1157\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] [2024/05/23 09:33:25.278 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=22.722409ms] [2024/05/23 09:33:25.288 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/23 09:33:25.288 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="alter table ddltiflash set tiflash replica 1"] [user=] [2024/05/23 09:33:25.290 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:33:25.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:25.290 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-23 09:33:25.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table ddltiflash set tiflash replica 1"] [2024/05/23 09:33:25.294 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:33:25.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.295 +00:00] [INFO] [table.go:1380] ["Set TiFlash replica pd rule for partitioned table"] [category=ddl] [tableID=104] [2024/05/23 09:33:25.295 +00:00] [INFO] [info.go:1229] [ConfigureTiFlashPDForPartitions] [tableID=104] [partID=105] [accel=false] [count=1] [2024/05/23 09:33:25.299 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [job="ID:107, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:33:25.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:25.301 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/23 09:33:25.301 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:25.305 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=3.70284ms] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"] [2024/05/23 09:33:26.216 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/23 09:33:26.219 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/23 09:33:26.219 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/23 09:33:26.219 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/23 09:33:26.219 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/23 09:33:26.220 +00:00] [INFO] [ddl_tiflash_api.go:526] ["Tiflash replica is available"] [category=ddl] [tableID=105] [progress=1] [2024/05/23 09:33:26.222 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:33:26.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/23 09:33:26.222 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:108, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-23 09:33:26.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query=] [2024/05/23 09:33:26.225 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=108] [category=ddl] [job="ID:108, Type:update tiflash replica status, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:33:26.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:26.226 +00:00] [INFO] [table.go:1486] ["TiFlash replica available"] [category=ddl] [tableID=104] [2024/05/23 09:33:26.230 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=108] [job="ID:108, Type:update tiflash replica status, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-23 09:33:26.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/23 09:33:26.232 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/23 09:33:26.232 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/23 09:33:26.237 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/23 09:33:26.237 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/23 09:33:26.237 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=4.845278ms] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"] [2024/05/23 09:33:26.237 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/23 09:33:26.239 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/23 09:33:26.239 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/23 09:33:26.239 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/23 09:33:26.239 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/23 09:33:43.306 +00:00] [ERROR] [tiflash_manager.go:104] ["Fail to get peer status from TiFlash."] [tableID=105] [stack="github.com/pingcap/tidb/pkg/domain/infosync.getTiFlashPeerWithoutLagCount\n\tpkg/domain/infosync/tiflash_manager.go:104\ngithub.com/pingcap/tidb/pkg/domain/infosync.calculateTiFlashProgress\n\tpkg/domain/infosync/tiflash_manager.go:132\ngithub.com/pingcap/tidb/pkg/domain/infosync.(*mockTiFlashReplicaManagerCtx).CalculateTiFlashProgress\n\tpkg/domain/infosync/tiflash_manager.go:743\ngithub.com/pingcap/tidb/pkg/domain/infosync.CalculateTiFlashProgress\n\tpkg/domain/infosync/info.go:1104\ngithub.com/pingcap/tidb/pkg/ddl.PollAvailableTableProgress\n\tpkg/ddl/ddl_tiflash_api.go:394\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).refreshTiFlashTicker\n\tpkg/ddl/ddl_tiflash_api.go:449\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).PollTiFlashRoutine\n\tpkg/ddl/ddl_tiflash_api.go:588\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157"] [2024/05/23 09:33:43.306 +00:00] [ERROR] [tiflash_manager.go:134] ["Fail to get peer count from TiFlash."] [tableID=105] [stack="github.com/pingcap/tidb/pkg/domain/infosync.calculateTiFlashProgress\n\tpkg/domain/infosync/tiflash_manager.go:134\ngithub.com/pingcap/tidb/pkg/domain/infosync.(*mockTiFlashReplicaManagerCtx).CalculateTiFlashProgress\n\tpkg/domain/infosync/tiflash_manager.go:743\ngithub.com/pingcap/tidb/pkg/domain/infosync.CalculateTiFlashProgress\n\tpkg/domain/infosync/info.go:1104\ngithub.com/pingcap/tidb/pkg/ddl.PollAvailableTableProgress\n\tpkg/ddl/ddl_tiflash_api.go:394\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).refreshTiFlashTicker\n\tpkg/ddl/ddl_tiflash_api.go:449\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).PollTiFlashRoutine\n\tpkg/ddl/ddl_tiflash_api.go:588\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157"] panic: Get "http://127.0.0.1:41475/tiflash/sync-status/keyspace/4294967295/table/105": dial tcp 127.0.0.1:41475: connect: connection refused goroutine 29419 [running]: github.com/pingcap/tidb/pkg/ddl.PollAvailableTableProgress({0x6fae0d8, 0xc001159288}, {0xc01fb0ab40?, 0x6f0f5a0?}, 0xc0079b4fe0) pkg/ddl/ddl_tiflash_api.go:401 +0xde6 github.com/pingcap/tidb/pkg/ddl.(*ddl).refreshTiFlashTicker(0xc0062d3d40, {0x6febf90, 0xc01fb0ab40}, 0xc0079b4fe0) pkg/ddl/ddl_tiflash_api.go:449 +0x29f github.com/pingcap/tidb/pkg/ddl.(*ddl).PollTiFlashRoutine(0xc0062d3d40) pkg/ddl/ddl_tiflash_api.go:588 +0x7d7 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:157 +0x59 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 27 pkg/util/wait_group_wrapper.go:155 +0x7c -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 2 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/13962/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/tests/tiflash/tiflash_test_/tiflash_test.runfiles/__main__/pkg/ddl/tests/tiflash/tiflash_test_/tiflash_test ================================================================================ [15,014 / 15,015] 414 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 47s remote-cache, linux-sandbox [15,014 / 15,015] 414 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 58s remote-cache, linux-sandbox [15,014 / 15,015] 414 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 84s remote-cache, linux-sandbox INFO: Elapsed time: 1637.723s, Critical Path: 593.03s INFO: 15003 processes: 7811 remote cache hit, 1669 internal, 5523 linux-sandbox. INFO: Build completed successfully, 15003 total actions //pkg/session/test/txn:txn_test FLAKY, failed in 1 out of 9 in 65.7s Stats over 9 runs: max = 65.7s, min = 26.6s, avg = 39.1s, dev = 10.1s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_8_of_8/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_1_of_8/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_7_of_8/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_6_of_8/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_2_of_8/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_3_of_8/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_5_of_8/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/session/test/txn/txn_test/shard_4_of_8/coverage.dat //pkg/ddl/ingest:ingest_test FLAKY, failed in 2 out of 19 in 150.3s Stats over 19 runs: max = 150.3s, min = 9.8s, avg = 70.9s, dev = 36.5s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_17_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_16_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_1_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_15_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_2_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_3_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_4_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_14_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_6_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_13_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_7_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_8_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_12_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_9_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_11_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_10_of_17/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ingest/ingest_test/shard_5_of_17/coverage.dat //pkg/ddl/tests/tiflash:tiflash_test FLAKY, failed in 1 out of 33 in 31.0s Stats over 33 runs: max = 31.0s, min = 1.8s, avg = 11.5s, dev = 7.4s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_32_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_31_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_1_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_2_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_30_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_3_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_14_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_11_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_13_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_8_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_19_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_18_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_12_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_20_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_5_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_6_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_22_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_16_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_17_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_21_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_15_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_9_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_23_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_29_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_28_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_10_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_4_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_7_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_26_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_24_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_27_of_32/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/tiflash/tiflash_test/shard_25_of_32/coverage.dat //pkg/planner/core:core_test FLAKY, failed in 1 out of 51 in 58.9s Stats over 51 runs: max = 58.9s, min = 5.3s, avg = 12.8s, dev = 8.5s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_50_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_49_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_48_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_47_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_46_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_45_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_44_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_43_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_42_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_1_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_41_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_40_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_2_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_39_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_3_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_38_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_4_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_37_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_36_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_35_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_5_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_34_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_6_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_7_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_33_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_8_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_32_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_9_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_31_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_10_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_30_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_29_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_28_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_27_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_11_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_26_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_12_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_13_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_25_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_14_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_15_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_24_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_16_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_17_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_23_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_18_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_19_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_22_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_20_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/planner/core/core_test/shard_21_of_50/coverage.dat //pkg/ddl:ddl_test FLAKY, failed in 2 out of 52 in 53.7s Stats over 52 runs: max = 53.7s, min = 12.4s, avg = 24.6s, dev = 9.9s /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_47_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_45_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_43_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_41_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_39_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_37_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_35_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_32_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_30_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_27_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_25_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_22_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_20_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_18_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 /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_16_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_15_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_14_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_4_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_11_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_10_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_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_8_of_50/coverage.dat Test cases: finished with 8000 passing and 0 failing out of 8000 test cases Executed 207 out of 415 tests: 415 tests pass. root: /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs complete to collect bazel result.